mirror of
https://github.com/allankoechke/turso.git
synced 2026-11-29 09:33:48 +00:00
tursopg --server reused DatabaseOpts::turso_cli(), which turns on SQL load_extension. The listener has no password (NoopHandler). A client could SELECT load_extension and run native code in the server process. Interactive CLI still enables the flag. The wire path uses the library default (off), matching sqlite3_enable_load_extension and #3250. Tests: tursopg wire_load_extension_is_disabled, repl_load_extension_still_attempts_to_open_the_file Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>