Skip to content

fix(flow-php/postgresql): sql_query_tables() returns only relation names - #2649

Merged
norberttech merged 1 commit into
1.xfrom
pgsql-query-tables-bug
Sep 22, 2026
Merged

norberttech merged 1 commit into
1.xfrom
pgsql-query-tables-bug

Conversation

@norberttech

Copy link
Copy Markdown
Member

Change Log


Added

  • flow-php/postgresql - RelationCollector visitor collecting only relation references
  • flow-php/postgresql - sql_query_tables() reports DROP / COMMENT ON / SECURITY LABEL / ALTER EXTENSION targets

Fixed

  • flow-php/postgresql - sql_query_tables() no longer returns FOR UPDATE OF names and CTE references
  • flow-php/postgresql - false circular view dependencies and false view drops in schema diffs

Changed

Removed

Deprecated

Security

- new RelationCollector: skips FOR UPDATE OF names and CTE references (PostgreSQL scope rules)
- DROP / COMMENT ON / SECURITY LABEL / ALTER EXTENSION targets reported
- fixes false view dependency cycles and false view drops in schema diffs
- upgrading.md: plain characters instead of typographic ellipses
@norberttech norberttech added this to the 0.45.0 milestone Sep 22, 2026
@codecov

codecov Bot commented Sep 22, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 99.14530% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 84.93%. Comparing base (676d2e5) to head (bb14c29).
⚠️ Report is 1 commits behind head on 1.x.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff              @@
##                1.x    #2649      +/-   ##
============================================
+ Coverage     84.91%   84.93%   +0.02%     
- Complexity    31218    31264      +46     
============================================
  Files          2124     2125       +1     
  Lines         89374    89490     +116     
============================================
+ Hits          75892    76009     +117     
+ Misses        13482    13481       -1     
Components Coverage Δ
etl 92.32% <ø> (ø)
cli 76.03% <ø> (ø)
lib-array-dot 96.52% <ø> (ø)
lib-azure-sdk 64.44% <ø> (ø)
lib-doctrine-dbal-bulk 70.36% <ø> (ø)
lib-filesystem 77.18% <ø> (ø)
lib-types 90.49% <ø> (ø)
lib-parquet 70.23% <ø> (ø)
lib-parquet-viewer 82.26% <ø> (ø)
lib-snappy 89.86% <ø> (ø)
lib-dremel 0.00% <ø> (ø)
lib-postgresql 85.92% <99.14%> (+0.07%) ⬆️
lib-telemetry 86.59% <ø> (ø)
bridge-filesystem-async-aws 86.31% <ø> (ø)
bridge-filesystem-azure 80.96% <ø> (ø)
bridge-filesystem-sftp 91.02% <ø> (ø)
bridge-monolog-http 91.54% <ø> (ø)
bridge-monolog-telemetry 94.79% <ø> (ø)
bridge-openapi-specification 60.86% <ø> (ø)
symfony-http-foundation 56.86% <ø> (ø)
bridge-psr18-telemetry 100.00% <ø> (ø)
bridge-psr3-telemetry 98.95% <ø> (ø)
bridge-psr7-telemetry 100.00% <ø> (ø)
bridge-telemetry-otlp 90.11% <ø> (ø)
bridge-symfony-http-foundation-telemetry 92.85% <ø> (ø)
bridge-symfony-filesystem-bundle 91.85% <ø> (ø)
bridge-symfony-filesystem-cache 98.18% <ø> (ø)
bridge-symfony-postgresql-bundle 93.04% <ø> (ø)
bridge-symfony-postgresql-cache 94.41% <ø> (ø)
bridge-symfony-postgresql-messenger 98.80% <ø> (ø)
bridge-symfony-postgresql-session 93.65% <ø> (ø)
bridge-symfony-telemetry-bundle 90.72% <ø> (ø)
adapter-chartjs 80.50% <ø> (ø)
adapter-csv 88.55% <ø> (ø)
adapter-doctrine 90.06% <ø> (ø)
adapter-google-sheet 81.17% <ø> (ø)
adapter-http 75.75% <ø> (ø)
adapter-json 67.77% <ø> (ø)
adapter-logger 28.57% <ø> (ø)
adapter-parquet 76.58% <ø> (ø)
adapter-text 72.06% <ø> (ø)
adapter-xml 60.32% <ø> (ø)
adapter-avro 7.14% <ø> (ø)
adapter-excel 80.00% <ø> (ø)
adapter-postgresql 78.56% <ø> (ø)
adapter-seal 65.69% <ø> (ø)
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 c01560c into 1.x Sep 22, 2026
50 checks passed
@norberttech
norberttech deleted the pgsql-query-tables-bug branch September 22, 2026 17:48
@github-project-automation github-project-automation Bot moved this from Todo to Done in Roadmap Sep 22, 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