Re: The pgperltidy diffs in HEAD

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Álvaro Herrera <alvherre(at)kurilemu(dot)de>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Pgsql Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: The pgperltidy diffs in HEAD
Date: 2025-11-25 22:28:35
Message-ID: 8F88EE34-06CE-4751-BA78-3E9444B07B50@yesql.se
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 25 Nov 2025, at 23:03, Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org> wrote:

> Even simpler, and avoiding having to move the `set -e` after the check:
>
> PERLTIDY_VERSION=20230309
> if ! $PERLTIDY -v | grep -q $PERLTIDY_VERSION; then
> echo "error: pgperltidy requires perltidy v$PERLTIDY_VERSION"
> exit 1
> fi

Ah, even better, thanks!

--
Daniel Gustafsson

Attachment Content-Type Size
v2_perltidyversion.diff application/octet-stream 2.1 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2025-11-25 23:24:27 Re: POC: enable logical decoding when wal_level = 'replica' without a server restart
Previous Message Jacob Champion 2025-11-25 22:04:53 Re: The pgperltidy diffs in HEAD