Re: pgsql: Trial fix for old cross-version upgrades.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Sami Imseih <samimseih(at)gmail(dot)com>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Jeff Davis <pgsql(at)j-davis(dot)com>, Jeff Davis <jdavis(at)postgresql(dot)org>, pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Trial fix for old cross-version upgrades.
Date: 2025-02-28 19:29:28
Message-ID: 2811968.1740770968@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Sami Imseih <samimseih(at)gmail(dot)com> writes:
> repro'd. I don't want to attach the file here, but I added a cp
> to get the dump file somewhere local

Thanks for the tips about an efficient repro. I installed 5.16.3
locally using perlbrew and was able to duplicate the problem.
After a bit of fooling around I found that using an explicit \n
instead of ^ fixes it. Not the world's most idiomatic regex,
but it'll do. Will push the attached shortly.

regards, tom lane

Attachment Content-Type Size
fix-perl-hangup.patch text/x-diff 891 bytes

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Sami Imseih 2025-02-28 19:45:48 Re: pgsql: Trial fix for old cross-version upgrades.
Previous Message Sami Imseih 2025-02-28 19:29:16 Re: pgsql: Trial fix for old cross-version upgrades.