From 22b24ab1b774ea41b4d83d0d269c40f4c394b496 Mon Sep 17 00:00:00 2001 From: Kyle Carberry Date: Wed, 10 Aug 2022 10:07:29 -0500 Subject: [PATCH] fix: Downgrade embedded PostgreSQL This was causing a new data path to occur, which broke existing installs. It needs to use the same path and upgrade instead. --- cli/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/server.go b/cli/server.go index fd8e41d2ebb37..86016d9c9bd7a 100644 --- a/cli/server.go +++ b/cli/server.go @@ -1153,7 +1153,7 @@ func startBuiltinPostgres(ctx context.Context, cfg config.Root, logger slog.Logg stdlibLogger := slog.Stdlib(ctx, logger.Named("postgres"), slog.LevelDebug) ep := embeddedpostgres.NewDatabase( embeddedpostgres.DefaultConfig(). - Version(embeddedpostgres.V14). + Version(embeddedpostgres.V13). BinariesPath(filepath.Join(cfg.PostgresPath(), "bin")). DataPath(filepath.Join(cfg.PostgresPath(), "data")). RuntimePath(filepath.Join(cfg.PostgresPath(), "runtime")). pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy