Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename PostgresScanTableFunction #607

Merged
merged 1 commit into from
Feb 17, 2025
Merged

Rename PostgresScanTableFunction #607

merged 1 commit into from
Feb 17, 2025

Conversation

Y--
Copy link
Collaborator

@Y-- Y-- commented Feb 14, 2025

Because this can conflict with DuckDB's postgres extension which check scanner by name eg. https://github.com/duckdb/duckdb-postgres/blob/8461ed8b6f726564934e9c831cdc88d431e3148f/src/storage/postgres_insert.cpp#L193-L195

When postgres extension was loaded, the optimizer would try to then cast our BindData as its own, creating obvious problems :-)

Fixes #567 #547

@Y-- Y-- requested a review from JelteF February 14, 2025 21:52
@Y-- Y-- force-pushed the yl/fix-scan-conflicts branch from 112e073 to 08aab47 Compare February 14, 2025 21:53
@Y-- Y-- force-pushed the yl/fix-scan-conflicts branch from 08aab47 to ec36932 Compare February 14, 2025 21:57
Copy link
Collaborator

@JelteF JelteF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OMG, that's terrible :(

@Y-- Y-- merged commit 7b1ea5a into main Feb 17, 2025
5 checks passed
@Y-- Y-- deleted the yl/fix-scan-conflicts branch February 17, 2025 07:34
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.

Server crashes when executing "SELECT approx_count_distinct(a), approx_count_distinct(b) FROM t;"
2 participants