postgresql/src/bin/pg_upgrade
Tom Lane d9e74959a7 Register atexit hook only once in pg_upgrade.
start_postmaster() registered stop_postmaster_atexit as an atexit(3)
callback each time through, although the obvious intention was to do
so only once per program run.  The extra registrations were harmless,
so long as we didn't exceed ATEXIT_MAX, but still it's a bug.

Artur Zakirov, with bikeshedding by Kyotaro Horiguchi and me

Discussion: <d279e817-02b5-caa6-215f-cfb05dce109a@postgrespro.ru>
2016-07-28 11:39:10 -04:00
..
.gitignore Move pg_upgrade from contrib/ to src/bin/ 2015-04-14 19:26:38 -04:00
check.c pgindent run for 9.6 2016-06-09 18:02:36 -04:00
controldata.c pgindent run for 9.6 2016-06-09 18:02:36 -04:00
dump.c Fix pg_upgrade to not fail when new-cluster TOAST rules differ from old. 2016-05-06 22:05:56 -04:00
exec.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
file.c Reword bogus comment 2016-06-16 12:43:35 -04:00
function.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
IMPLEMENTATION Move pg_upgrade from contrib/ to src/bin/ 2015-04-14 19:26:38 -04:00
info.c Improve pg_upgrade's report about failure to match up old and new tables. 2016-05-06 14:45:01 -04:00
Makefile pg_upgrade: Remove converter plugin facility. 2016-03-08 08:13:02 -05:00
option.c Fix typos. 2016-03-15 18:06:11 -04:00
parallel.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
pg_upgrade.c pgindent run for 9.6 2016-06-09 18:02:36 -04:00
pg_upgrade.h Remove unused prototype 2016-06-16 12:06:51 -04:00
relfilenode.c pg_upgrade: Don't overwrite existing files. 2016-06-06 09:51:56 -04:00
server.c Register atexit hook only once in pg_upgrade. 2016-07-28 11:39:10 -04:00
tablespace.c pgindent run for 9.6 2016-06-09 18:02:36 -04:00
test.sh Update copyright for 2016 2016-01-02 13:33:40 -05:00
TESTING Move pg_upgrade from contrib/ to src/bin/ 2015-04-14 19:26:38 -04:00
util.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
version.c Update copyright for 2016 2016-01-02 13:33:40 -05:00