summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorPeter Eisentraut2018-12-29 12:21:47 +0000
committerPeter Eisentraut2019-01-07 15:21:47 +0000
commita4205fa00d526c3158c677a3d82042f88d429f84 (patch)
treeb12d63bbf640030414a548268468e2afed3f7ccf /src/common
parentafb0d0712f1a62efe2addd95262cf38e8481e84a (diff)
pg_basebackup: Use atexit()
Instead of using our custom disconnect_and_exit(), just register the desired cleanup using atexit() and use the standard exit() to leave the program. Reviewed-by: Alvaro Herrera <alvherre@2ndquadrant.com> Reviewed-by: Michael Paquier <michael@paquier.xyz> Discussion: https://www.postgresql.org/message-id/flat/ec4135ba-84e9-28bf-b584-0e78d47448d5@2ndquadrant.com/
Diffstat (limited to 'src/common')
0 files changed, 0 insertions, 0 deletions