Merge pull request #645 from vkartaviy/fix/embedded-postgres-utf8

fix: ensure embedded PostgreSQL databases use UTF-8 encoding
This commit is contained in:
Dotta
2026-03-12 14:15:58 -05:00
committed by GitHub
4 changed files with 4 additions and 1 deletions

View File

@@ -334,6 +334,7 @@ export async function startServer(): Promise<StartedServer> {
password: "paperclip",
port,
persistent: true,
initdbFlags: ["--encoding=UTF8", "--locale=C"],
onLog: appendEmbeddedPostgresLog,
onError: appendEmbeddedPostgresLog,
});