git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: afb0d07) | patch
pg_basebackup: Use atexit()
2018年12月29日 12:21:47 +0000 (13:21 +0100)
Mon, 7 Jan 2019 15:21:47 +0000 (16:21 +0100)
commit a4205fa00d526c3158c677a3d82042f88d429f84
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/
src/bin/pg_basebackup/pg_basebackup.c diff | blob | blame | history
src/bin/pg_basebackup/pg_receivewal.c diff | blob | blame | history
src/bin/pg_basebackup/pg_recvlogical.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /