postgresql/contrib/pg_upgrade
Tom Lane 737f25cfed 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:11 -04:00
..
.gitignore Update .gitignore for pg_upgrade 2014-12-17 11:59:45 +01:00
check.c pg_upgrade: only allow template0 to be non-connectable 2015-05-16 00:10:03 -04:00
controldata.c Fix spelling mistake. 2016-01-14 23:16:26 -05:00
dump.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
exec.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
file.c pg_upgrade: fix CopyFile() on Windows to fail on file existence 2015-11-24 17:18:27 -05:00
function.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
IMPLEMENTATION Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
info.c pg_dump, pg_upgrade: allow postgres/template1 tablespace moves 2015-09-11 15:51:10 -04:00
Makefile Fix pg_dump to handle inherited NOT VALID check constraints correctly. 2015-10-01 16:19:49 -04:00
option.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
page.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
pg_upgrade.c Fix typos 2015-05-17 22:22:44 -04:00
pg_upgrade.h pg_upgrade: properly detect file copy failure on Windows 2015-11-14 11:47:11 -05:00
relfilenode.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
server.c Register atexit hook only once in pg_upgrade. 2016-07-28 11:39:11 -04:00
tablespace.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
test.sh Honour TEMP_CONFIG when testing pg_upgrade 2015-09-17 12:12:06 -04:00
TESTING Remove whitespace from end of lines 2012-05-15 22:19:41 +03:00
util.c pg_upgrade: fix CopyFile() on Windows to fail on file existence 2015-11-24 17:18:27 -05:00
version.c In pg_upgrade, add various logging improvements: 2012-03-12 19:48:03 -04:00
version_old_8_3.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00