Обсуждение: pgsql: isolationtester: Use atexit()

Поиск
Список
Период
Сортировка

pgsql: isolationtester: Use atexit()

От
Peter Eisentraut
Дата:
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/

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(-)