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

Add extension utils function #3371

Merged
merged 7 commits into from
Apr 25, 2024
Merged

Conversation

acquamarin
Copy link
Collaborator

@acquamarin acquamarin commented Apr 24, 2024

This PR implements the following utils funcitons for extensions:

  1. SHOW_DATABASES(): returns all attached databases. Closes List all attached databases #3359
  2. DUCKDB_CLEAR_CACHE(): clear duckdb catalog cache.
  3. POSTGRES_CLEAR_CACHE(): clear postgres catalog cache.

extension/duckdb_scanner/src/duckdb_functions.cpp Outdated Show resolved Hide resolved
extension/duckdb_scanner/src/duckdb_functions.cpp Outdated Show resolved Hide resolved
src/include/extension/catalog_extension.h Show resolved Hide resolved
src/function/table/call/show_tables.cpp Outdated Show resolved Hide resolved
src/extension/extension.cpp Outdated Show resolved Hide resolved
extension/postgres_scanner/src/postgres_functions.cpp Outdated Show resolved Hide resolved
extension/postgres_scanner/src/postgres_functions.cpp Outdated Show resolved Hide resolved
@acquamarin acquamarin merged commit 7d632f3 into master Apr 25, 2024
26 checks passed
@acquamarin acquamarin deleted the add-extension-utils-function branch April 25, 2024 02:48
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.

List all attached databases
2 participants