Skip to content

Comments

Ignore quals for unknown relation in resolve_quals#314

Open
rjuju wants to merge 2 commits intomasterfrom
fix_resolve_quals
Open

Ignore quals for unknown relation in resolve_quals#314
rjuju wants to merge 2 commits intomasterfrom
fix_resolve_quals

Conversation

@rjuju
Copy link
Member

@rjuju rjuju commented Feb 15, 2026

if the RESOLVE_ATTNAME query doesn't find an attribute name for a given relation oid and attribute number, it likely means that the table has been dropped since the underlying snapshot time. We could maybe try to find it in the catalog snapshot, but if the table doesn't exist anymore there is not point trying to do so as resolve_quals is only used to for hypothetical indexe which aren't needed for a table that doesn't exist anymore.

if the RESOLVE_ATTNAME query doesn't find an attribute name for a given
relation oid and attribute number, it likely means that the table has been
dropped since the underlying snapshot time.  We could maybe try to find it in
the catalog snapshot, but if the table doesn't exist anymore there is not point
trying to do so as resolve_quals is only used to for hypothetical indexe which
aren't needed for a table that doesn't exist anymore.
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