pub fn execute_sqlite_temp_schema_query(
catalog: &Catalog,
) -> Result<SelectResult, ExecutorError>Expand description
Execute a sqlite_temp_master / sqlite_temp_schema query.
Lists the session’s temp-schema objects: temp tables, indexes on temp
tables, temp views, and temp triggers. Mirrors SQLite 3.51.0, where:
CREATE TEMP TABLE t(a); CREATE INDEX i ON t(a);
CREATE TEMP VIEW v AS SELECT 1; CREATE TEMP TRIGGER tr AFTER INSERT ON t …;
SELECT name,type FROM sqlite_temp_master; – lists t, i, v and tr
while sqlite_master lists none of them. Temp tables/indexes were added in
#5513 (PR #5539); temp views/triggers in #5541.