mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: explicitly set encoding to UTF8 on embedded postgres (#16604)
Fixes https://github.com/coder/coder/issues/16228. I've verified that the setting does not affect existing databases.
This commit is contained in:
@@ -2022,6 +2022,7 @@ func startBuiltinPostgres(ctx context.Context, cfg config.Root, logger slog.Logg
|
||||
Username("coder").
|
||||
Password(pgPassword).
|
||||
Database("coder").
|
||||
Encoding("UTF8").
|
||||
Port(uint32(pgPort)).
|
||||
Logger(stdlibLogger.Writer()),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user