-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Display schema information of currently selected database only #15815
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
Conversation
Thanks for the PR! it just looks like there is a related CI failure in the force storage tests - could you have a look?
|
The below query will give a different output when opened in in-memory mode and persistence mode.
The reason is that in this query
So when we restrict the shcemas to return only current_database's schema as done in this PR, when typnamespace is 0 there is no system database's main schema (with oid = 0) to match any rows in the above test's join clause |
You can add |
Thanks @Mytherin . It worked. Please review |
Display schema information of currently selected database only (duckdb/duckdb#15815) Remove extension definitions to prevent re-compilation of the entire system on commit (duckdb/duckdb#15955) Throw an error when unsupported commands are used in concurrentloop (duckdb/duckdb#16009) Benchmark runner: catch and log errors + add support for `retry load N` syntax (duckdb/duckdb#16054)
Display schema information of currently selected database only (duckdb/duckdb#15815) Remove extension definitions to prevent re-compilation of the entire system on commit (duckdb/duckdb#15955) Throw an error when unsupported commands are used in concurrentloop (duckdb/duckdb#16009) Benchmark runner: catch and log errors + add support for `retry load N` syntax (duckdb/duckdb#16054)
Display schema information of currently selected database only (duckdb/duckdb#15815) Remove extension definitions to prevent re-compilation of the entire system on commit (duckdb/duckdb#15955) Throw an error when unsupported commands are used in concurrentloop (duckdb/duckdb#16009) Benchmark runner: catch and log errors + add support for `retry load N` syntax (duckdb/duckdb#16054)
Display schema information of currently selected database only (duckdb/duckdb#15815) Remove extension definitions to prevent re-compilation of the entire system on commit (duckdb/duckdb#15955) Throw an error when unsupported commands are used in concurrentloop (duckdb/duckdb#16009) Benchmark runner: catch and log errors + add support for `retry load N` syntax (duckdb/duckdb#16054)
Display schema information of currently selected database only (duckdb/duckdb#15815) Remove extension definitions to prevent re-compilation of the entire system on commit (duckdb/duckdb#15955) Throw an error when unsupported commands are used in concurrentloop (duckdb/duckdb#16009) Benchmark runner: catch and log errors + add support for `retry load N` syntax (duckdb/duckdb#16054)
Display schema information of currently selected database only (duckdb/duckdb#15815) Remove extension definitions to prevent re-compilation of the entire system on commit (duckdb/duckdb#15955) Throw an error when unsupported commands are used in concurrentloop (duckdb/duckdb#16009) Benchmark runner: catch and log errors + add support for `retry load N` syntax (duckdb/duckdb#16054)
select * from pg_catalog.pg_namespace;
just like Postgres, this must show schemas belonging to the currently selected database only