Обсуждение: pgsql: pgindent: Clean up temp files created by File::Temp on SIGINT

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

pgsql: pgindent: Clean up temp files created by File::Temp on SIGINT

От
Peter Eisentraut
Дата:
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(+)