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 <[email protected]>
Discussion: 
https://www.postgresql.org/message-id/flat/[email protected]

Branch
------
master

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

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

Reply via email to