isolationtester: Use atexit()

Peter Eisentraut <peter@eisentraut.org>

Commit: be2e329f2e700032df087e08ac2103ba3d1fa811
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2019-01-07T15:25:16Z
Releases: 12.0
isolationtester: Use atexit()

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

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

Files

PathChange+/−
src/test/isolation/isolationtester.c modified +19 −23

Discussion

Cited messages not in the archive: ec4135ba-84e9-28bf-b584-0e78d47448d5@2ndquadrant.com/