pgsql: isolationtester: Use atexit()

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: isolationtester: Use atexit()
Date: 2019-01-07 15:36:27
Message-ID: E1ggWx1-00078y-Ek@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

isolationtester: Use atexit()

Replace exit_nicely() calls with standard exit() and register the
cleanup actions using atexit().

Reviewed-by: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/ec4135ba-84e9-28bf-b584-0e78d47448d5(at)2ndquadrant(dot)com/

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/be2e329f2e700032df087e08ac2103ba3d1fa811

Modified Files
--------------
src/test/isolation/isolationtester.c | 42 ++++++++++++++++--------------------
1 file changed, 19 insertions(+), 23 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Gierth 2019-01-07 19:02:39 pgsql: doc: document that INFO messages always go to client.
Previous Message Amit Khandekar 2019-01-07 11:33:20 Re: pgsql: Remove WITH OIDS support, change oid catalog column visibility.