pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Check for correct version of perltidy
Date: Wed, 26 Nov 2025 20:36:06 +0000
Message-ID: <E1vOMFC-001Y7B-0o@gemulon.postgresql.org> (raw)

Check for correct version of perltidy

pgperltidy requires a particular version of perltidy, but the version
wasn't checked like how pgindent checks the underlying indent binary.
Fix by checking the version of perltidy and error out if an incorrect
version is used.

Author: Daniel Gustafsson <daniel@yesql.se>
Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Reviewed-by: Álvaro Herrera <alvherre@kurilemu.de>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Andrew Dunstan <andrew@dunslane.net>
Discussion: https://postgr.es/m/1209850.1764092152@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1cdb84bb1bcd6de4abcb5b2137f57c6c7463f4ab

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



Message-ID: <E1vOMFC-001Y7B-0o@gemulon.postgresql.org>
Permalink:  ../E1vOMFC-001Y7B-0o@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vOMFC-001Y7B-0o@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: dgustafsson@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Check for correct version of perltidy
  In-Reply-To: <E1vOMFC-001Y7B-0o@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