- Notifications
You must be signed in to change notification settings - Fork28
Commita4205fa
committed
pg_basebackup: Use atexit()
Instead of using our custom disconnect_and_exit(), just register thedesired cleanup using atexit() and use the standard exit() to leavethe 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/1 parentafb0d07 commita4205fa
File tree
3 files changed
+104
-101
lines changed- src/bin/pg_basebackup
3 files changed
+104
-101
lines changed0 commit comments
Comments
(0)