Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d6d9cf9

Browse files
authored
fix: Downgrade embedded PostgreSQL (#3453)
This was causing a new data path to occur, which broke existing installs. It needs to use the same path and upgrade instead.
1 parent fd73d6d commit d6d9cf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/server.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1153,7 +1153,7 @@ func startBuiltinPostgres(ctx context.Context, cfg config.Root, logger slog.Logg
11531153
stdlibLogger := slog.Stdlib(ctx, logger.Named("postgres"), slog.LevelDebug)
11541154
ep := embeddedpostgres.NewDatabase(
11551155
embeddedpostgres.DefaultConfig().
1156-
Version(embeddedpostgres.V14).
1156+
Version(embeddedpostgres.V13).
11571157
BinariesPath(filepath.Join(cfg.PostgresPath(), "bin")).
11581158
DataPath(filepath.Join(cfg.PostgresPath(), "data")).
11591159
RuntimePath(filepath.Join(cfg.PostgresPath(), "runtime")).

0 commit comments

Comments
 (0)