This commit is contained in:
@@ -919,7 +919,7 @@ subcommand_normalize_backup() {
|
||||
NORMALIZE_DATABASE="${PG_DATABASE:-testdb}"
|
||||
NORMALIZE_ADMIN_ROLE="postgres"
|
||||
NORMALIZE_PORT="${PG_PORT:-5432}"
|
||||
NORMALIZE_PRELOAD_LIBRARIES="${PG_SHARED_PRELOAD_LIBRARIES:-pg_cron}"
|
||||
NORMALIZE_PRELOAD_LIBRARIES="${PG_SHARED_PRELOAD_LIBRARIES-pg_cron}"
|
||||
NORMALIZE_DATABASE_EXPLICIT=0
|
||||
|
||||
while [ $# -gt 0 ]; do
|
||||
@@ -1060,7 +1060,8 @@ EOF
|
||||
|
||||
log notice "starting temporary local cluster"
|
||||
with_closed_fds pg_ctl -D "$NORMALIZE_PGDATA" -o "-F" -w start > "$NORMALIZE_LOG" 2>&1 || {
|
||||
log error "normalize-backup: failed to start temporary cluster; see $NORMALIZE_LOG"
|
||||
cat "$NORMALIZE_LOG" >&2
|
||||
log error "normalize-backup: failed to start temporary cluster"
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user