diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-07-28 11:39:10 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-07-28 11:39:10 -0400 |
commit | d9e74959a7fabe57e38bdda430aa662445bd1dd6 (patch) | |
tree | ff6bdef320a18d39070800b5e4df987951b6b3aa /src/backend/access/gist/gistvalidate.c | |
parent | de8c92e6caf0cd8683b23a222d4bd88a90496840 (diff) | |
download | postgresql-d9e74959a7fabe57e38bdda430aa662445bd1dd6.tar.gz |
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>
Diffstat (limited to 'src/backend/access/gist/gistvalidate.c')
0 files changed, 0 insertions, 0 deletions