Files
shumai/prisma
yiling ddac22a12f fix(db): persist hnsw.iterative_scan via ALTER DATABASE instead of SET
SET only applies to the current migration session and is lost when the
connection closes. Use a DO block with current_database() to execute
ALTER DATABASE ... SET, which persists the GUC for all future connections.

The DO block with format('%I', current_database()) avoids hardcoding
the database name and works on PostgreSQL < 16 (which lacks ALTER DATABASE
CURRENT syntax).
2026-05-29 15:29:29 +08:00
..