diff options
author | Fujii Masao <fujii@postgresql.org> | 2020-02-12 09:08:22 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2020-02-12 09:08:22 +0900 |
commit | be6221e9be234109aa261ea767c85f5e8cda90e8 (patch) | |
tree | e7a17109919009cf417bcbdcd7e5aa0d399678ce /src/backend/commands/user.c | |
parent | e49d5ebbaebc3ecd6b495fda9518c2c2fac5c296 (diff) | |
download | postgresql-be6221e9be234109aa261ea767c85f5e8cda90e8.tar.gz postgresql-be6221e9be234109aa261ea767c85f5e8cda90e8.zip |
Fix bug in pg_basebackup -F plain -R.
Commit caba97a9d9 changed pg_basebackup -F plain -R so that
it overwrote postgresql.auto.conf in the backup, with new connection
setting. This could cause the existing postgresql.auto.conf settings
in the server to get lost unexpectedly. This is a bug.
This commit fixes the bug by making pg_basebackup -F plain -R
append the connection setting into postgresql.auto.conf in the backup.
Author: Fujii Masao
Reviewed-by: Sergei Kornilov
Discussion: https://postgr.es/m/250dcf2a-94e7-c05e-824a-73cfb38a48a4@oss.nttdata.com
Diffstat (limited to 'src/backend/commands/user.c')
0 files changed, 0 insertions, 0 deletions