postgresql/contrib/pg_upgrade
Tom Lane 1be0387956 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:29 +01:00
check.c pg_upgrade: suppress creation of delete script 2016-02-18 18:32:26 -05:00
controldata.c Fix spelling mistake. 2016-01-14 23:16:11 -05:00
dump.c Fix pg_upgrade to not fail when new-cluster TOAST rules differ from old. 2016-05-06 22:05:51 -04:00
exec.c Remove tabs after spaces in C comments 2014-05-06 11:26:28 -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:28 -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:28 -04:00
page.c Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
parallel.c pg_upgrade: clarify C comment about Windows thread struct pointers 2013-07-30 09:23:31 -04:00
pg_upgrade.c Fix pg_upgrade to not fail when new-cluster TOAST rules differ from old. 2016-05-06 22:05:51 -04:00
pg_upgrade.h Fix pg_upgrade to not fail when new-cluster TOAST rules differ from old. 2016-05-06 22:05:51 -04:00
relfilenode.c Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
server.c Register atexit hook only once in pg_upgrade. 2016-07-28 11:39:11 -04:00
tablespace.c pg_upgrade: throw an error for non-existent tablespace directories 2014-04-17 11:42:21 -04:00
test.sh Honour TEMP_CONFIG when testing pg_upgrade 2015-09-17 12:05:11 -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 Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
version_old_8_3.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00