Skip to content

Conversation

Mytherin
Copy link
Collaborator

Fixes #7663

The in_search_path function can be used to check if a given database/schema combo is in the active search path:

D SELECT in_search_path('memory', 'main') AS in_search_path;
┌────────────────┐
│ in_search_path │
│    boolean     │
├────────────────┤
│ true           │
└────────────────┘

This is used as part of SHOW TABLES to now correctly show all tables and views that can be queried - including temporary tables/views.

@Mytherin Mytherin merged commit 9e89e66 into duckdb:master May 27, 2023
@Mytherin Mytherin deleted the showtables branch July 5, 2023 03:40
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.

Neither SHOW TABLES nor SHOW ALL TABLES show temporary views
1 participant