postgresql/src/bin/initdb
Peter Eisentraut 3913a40ff1 initdb: Use atexit()
Replace exit_nicely() calls with standard exit() and register the
cleanup actions using atexit().  The coding pattern used here mirrors
existing use in pg_basebackup.c.

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/
2019-01-07 16:24:50 +01:00
..
po Translation updates 2018-05-21 12:29:52 -04:00
t Add TAP tests for pg_verify_checksums 2018-10-12 09:12:31 +09:00
.gitignore Add TAP tests for client programs 2014-04-14 21:33:46 -04:00
Makefile Update copyright for 2019 2019-01-02 12:44:25 -05:00
findtimezone.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
initdb.c initdb: Use atexit() 2019-01-07 16:24:50 +01:00
nls.mk Translation updates 2018-05-21 12:29:52 -04:00