mirror of
https://github.com/allankoechke/turso.git
synced 2026-12-02 17:46:54 +00:00
pg_dump sets search_path to an empty string before reading catalogs. Store search_path in the injected connection state so native set_config calls and SET statements update the same session setting during execution. Keep an explicitly empty path distinct from the default and preserve access to qualified public tables and implicit PostgreSQL catalogs. Support session-scoped search_path only. Reject transaction-local settings and unsupported parameters; transaction rollback restoration and separate wire-client sessions are not implemented in this change. Tests: eight new WAL/MVCC regression cases fail before and pass afterward; 424 PostgreSQL integration, 22 frontend, 181 parser, and four wire-protocol search-path tests pass. CLI build and formatting checks pass. Amp-Thread-ID: https://ampcode.com/threads/T-01a11786-6662-751d-925e-4ec4fecf16b3 Co-authored-by: pedro muniz <pedro.muniz.carlo@gmail.com>