You've already forked pg_probackup
mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-09-16 09:26:30 +02:00
bugfix: for PG>=12 instance with missing postgresql.auto.conf restore now correctly recreates postgresql.auto.conf
This commit is contained in:
@@ -1543,6 +1543,7 @@ update_recovery_options(pgBackup *backup,
|
||||
if (errno != ENOENT)
|
||||
elog(ERROR, "cannot stat file \"%s\": %s", postgres_auto_path,
|
||||
strerror(errno));
|
||||
st.st_size = 0;
|
||||
}
|
||||
|
||||
/* Kludge for 0-sized postgresql.auto.conf file. TODO: make something more intelligent */
|
||||
|
Reference in New Issue
Block a user