Skip to content

Sync copied path building code with upstream - #10397

Open
svenklemm wants to merge 1 commit into
mainfrom
sven/pg_imports_fixup
Open

Sync copied path building code with upstream#10397
svenklemm wants to merge 1 commit into
mainfrom
sven/pg_imports_fixup

Conversation

@svenklemm

Copy link
Copy Markdown
Member

Two fixes to code copied from the planner. For plain tables we now
consider TID scans first and stop early when one is required, which is
needed for queries using WHERE CURRENT OF. For foreign tables we make
sure the tuple estimate is never lower than the row estimate, which
guards against an unknown reltuples value of -1.

Two fixes to code copied from the planner. For plain tables we now
consider TID scans first and stop early when one is required, which is
needed for queries using WHERE CURRENT OF. For foreign tables we make
sure the tuple estimate is never lower than the row estimate, which
guards against an unknown reltuples value of -1.
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

@dbeck, @akuzm: please review this pull request.

Powered by pull-review

@codecov

codecov Bot commented Aug 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant