Skip to content

Postgresql drop index schema - #2728

Merged
norberttech merged 3 commits into
1.xfrom
postgresql-drop-index-schema
Nov 6, 2026
Merged

norberttech merged 3 commits into
1.xfrom
postgresql-drop-index-schema

Conversation

@norberttech

Copy link
Copy Markdown
Member

Resolves: #xxx

Change Log


Added

  • flow-php/postgresql - ALTER EXTENSION ... SET SCHEMA in the query builder
  • flow-php/postgresql - schema diff moves extensions between schemas

Fixed

  • flow-php/postgresql - schema diff qualifies every object with its schema
  • flow-php/postgresql - DROP INDEX honours dropIfExists
  • flow-php/postgresql - catalog provider reads materialized view indexes and owned sequences
  • flow-php/postgresql - catalog provider skips extension member objects
  • flow-php/postgresql - sequence defaults converge with the live catalog
  • flow-php/postgresql - integers beyond int32 render exactly in literals and sequence options
  • flow-php/postgresql - unpinned extension versions no longer produce a diff
  • flow-php/postgresql - explicitly listed schemas that do not exist get created by the diff

Changed

  • flow-php/postgresql - schema objects store their schema and inherit it from the containing Schema
  • flow-php/postgresql - extensions are declared on the Catalog, with a schema per extension

Removed

  • flow-php/postgresql - DependentView

Deprecated

Security

… schema

- schema objects store their schema and inherit it from the containing Schema; conflicts throw
- drops, alters and creates for indexes, views, sequences, functions, procedures, domains and extensions are schema-qualified
- catalog provider reads materialized view indexes and explicitly owned sequences
- sequence defaults converge with the live catalog and render correctly for descending sequences
- integers beyond int32 render exactly in literals and sequence options
- DependentView removed; DROP INDEX honours dropIfExists
- move extensions from Schema to Catalog, with a schema per extension
- move extensions between schemas with ALTER EXTENSION SET SCHEMA
- leave unpinned extension versions out of the diff
- stop reading extension member objects as user objects
- skip explicitly listed schemas that do not exist, so the diff creates them
@norberttech norberttech added this to the 0.48.0 milestone Nov 6, 2026
@codecov

codecov Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.61111% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.85%. Comparing base (dc7ab44) to head (8f5f89b).
⚠️ Report is 2 commits behind head on 1.x.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff              @@
##                1.x    #2728      +/-   ##
============================================
+ Coverage     87.05%   90.85%   +3.79%     
- Complexity     3000    31440   +28440     
============================================
  Files          2261     2227      -34     
  Lines         95357    90915    -4442     
============================================
- Hits          83010    82597     -413     
+ Misses        12347     8318    -4029     
Components Coverage Δ
etl 95.99% <ø> (+0.03%) ⬆️
cli 87.24% <ø> (+2.43%) ⬆️
lib-array-dot 96.52% <ø> (ø)
lib-azure-sdk 64.17% <ø> (+1.02%) ⬆️
lib-doctrine-dbal-bulk 94.25% <ø> (+0.66%) ⬆️
lib-filesystem 89.16% <ø> (+6.90%) ⬆️
lib-types 94.64% <ø> (ø)
lib-parquet 82.80% <ø> (-0.28%) ⬇️
lib-parquet-viewer 83.15% <ø> (ø)
lib-snappy 90.74% <ø> (+0.88%) ⬆️
lib-dremel 0.00% <ø> (ø)
lib-postgresql 90.40% <98.61%> (+5.16%) ⬆️
lib-telemetry 86.85% <ø> (+20.44%) ⬆️
bridge-filesystem-async-aws 96.12% <ø> (+12.36%) ⬆️
bridge-filesystem-azure 94.39% <ø> (+13.90%) ⬆️
bridge-filesystem-sftp 90.29% <ø> (+4.85%) ⬆️
bridge-monolog-http 96.84% <ø> (ø)
bridge-monolog-telemetry 92.85% <ø> (+13.03%) ⬆️
bridge-openapi-specification 91.95% <ø> (ø)
symfony-http-foundation 80.76% <ø> (+0.64%) ⬆️
bridge-psr18-telemetry 100.00% <ø> (ø)
bridge-psr3-telemetry 98.95% <ø> (+17.37%) ⬆️
bridge-psr7-telemetry 100.00% <ø> (ø)
bridge-telemetry-otlp 90.11% <ø> (+10.24%) ⬆️
bridge-symfony-http-foundation-telemetry 92.85% <ø> (ø)
bridge-symfony-filesystem-bundle 93.00% <ø> (+3.90%) ⬆️
bridge-symfony-filesystem-cache 98.18% <ø> (ø)
bridge-symfony-postgresql-bundle 93.35% <ø> (+1.29%) ⬆️
bridge-symfony-postgresql-cache 94.41% <ø> (ø)
bridge-symfony-postgresql-messenger 98.80% <ø> (ø)
bridge-symfony-postgresql-session 93.65% <ø> (ø)
bridge-symfony-telemetry-bundle 90.76% <ø> (+0.38%) ⬆️
adapter-chartjs 82.11% <ø> (ø)
adapter-csv 97.67% <ø> (+9.18%) ⬆️
adapter-doctrine 95.13% <ø> (ø)
adapter-google-sheet 97.49% <ø> (+28.31%) ⬆️
adapter-http 87.18% <ø> (ø)
adapter-json 90.59% <ø> (+4.40%) ⬆️
adapter-logger 47.05% <ø> (ø)
adapter-parquet 97.20% <ø> (+16.37%) ⬆️
adapter-text 97.68% <ø> (ø)
adapter-xml 98.01% <ø> (ø)
adapter-avro 6.25% <ø> (ø)
adapter-excel 96.77% <ø> (+9.56%) ⬆️
adapter-postgresql 97.34% <ø> (+0.10%) ⬆️
adapter-seal 89.91% <ø> (ø)
bridge-phpunit-postgresql 75.30% <ø> (ø)
bridge-phpunit-telemetry 87.36% <ø> (ø)
bridge-phpstan-types 0.00% <ø> (ø)
bridge-postgresql-valinor 100.00% <ø> (ø)
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@norberttech
norberttech merged commit 6713efb into 1.x Nov 6, 2026
20 of 21 checks passed
@norberttech
norberttech deleted the postgresql-drop-index-schema branch November 6, 2026 02:27
@github-project-automation github-project-automation Bot moved this from Todo to Done in Roadmap Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant