git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: e35dba4) | patch
pg_upgrade: prevent check on live cluster from generating error
Tue, 9 Jan 2018 03:43:51 +0000 (22:43 -0500)
Tue, 9 Jan 2018 03:43:51 +0000 (22:43 -0500)
commit d25ee30031b08ad1348a090914c2af6bc640a832
pg_upgrade: prevent check on live cluster from generating error

Previously an inaccurate but harmless error was generated when running
--check on a live server before reporting the servers as compatible.
The fix is to split error reporting and exit control in the exec_prog()
API.

Reported-by: Daniel Westermann
Backpatch-through: 10
src/bin/pg_upgrade/dump.c diff | blob | blame | history
src/bin/pg_upgrade/exec.c diff | blob | blame | history
src/bin/pg_upgrade/parallel.c diff | blob | blame | history
src/bin/pg_upgrade/pg_upgrade.c diff | blob | blame | history
src/bin/pg_upgrade/pg_upgrade.h diff | blob | blame | history
src/bin/pg_upgrade/server.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /