pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pgindent: Clean up temp files created by File::Temp on SIGINT
Date: Fri, 27 Mar 2026 13:27:28 +0000
Message-ID: <E1w67Dj-001hZ2-15@gemulon.postgresql.org> (raw)

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



Message-ID: <E1w67Dj-001hZ2-15@gemulon.postgresql.org>
Permalink:  ../E1w67Dj-001hZ2-15@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1w67Dj-001hZ2-15@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: pgindent: Clean up temp files created by File::Temp on SIGINT
  In-Reply-To: <E1w67Dj-001hZ2-15@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox