pgsql: pgindent: Clean up temp files created by File::Temp on SIGINT - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: pgindent: Clean up temp files created by File::Temp on SIGINT
Date
Msg-id E1w67Dj-001hZ2-15@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
pgindent: Clean up temp files created by File::Temp on SIGINT

When pressing Ctrl+C while running pgindent, it would often leave around
files like pgtypedefAXUEEA. This slightly changes SIGINT handling so
those files are cleaned up.

Author: Jelte Fennema-Nio <postgres@jeltef.nl>
Discussion: https://www.postgresql.org/message-id/flat/DFCDD5H4J7VX.3GJKRBBDCKQ86@jeltef.nl

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/801de0bd443375ed3928ef44f2ee70a734d2a4d5

Modified Files
--------------
src/tools/pgindent/pgindent | 9 +++++++++
1 file changed, 9 insertions(+)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Refactor PredicateLockShmemInit to not reuse var for different t
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Align tests for stored and virtual generated columns