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

From: Sami Imseih <samimseih(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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:45:48
Message-ID: CAA5RZ0u7+Dmg=FBsj=YmZUAYUMoBuH-kibp4GUyXW4TAgfhYwA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

> 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.

I can also confirm this works as expected, although I feel my
suggested expression [0] is easier to understand, but I have no
strong opinion either way.

Regards,

--
Sami

[0] https://www.postgresql.org/message-id/CAA5RZ0tz-AibaxVF1NnNMcMEmwut%2Bkn%3Dk%3DxG2XmDN9d6kv2-%3Dg%40mail.gmail.com

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2025-02-28 19:46:58 Re: pgsql: Refactor COPY FROM to use format callback functions.
Previous Message Tom Lane 2025-02-28 19:29:28 Re: pgsql: Trial fix for old cross-version upgrades.