Re: psql: fix variable existence tab completion - Mailing list pgsql-hackers

From Tom Lane
Subject Re: psql: fix variable existence tab completion
Date
Msg-id 4001917.1721340629@sss.pgh.pa.us
Whole thread Raw
In response to Re: psql: fix variable existence tab completion  ("Anton A. Melnikov" <a.melnikov@postgrespro.ru>)
Responses Re: psql: fix variable existence tab completion
List pgsql-hackers
"Anton A. Melnikov" <a.melnikov@postgrespro.ru> writes:
> On 06.05.2024 13:19, Alexander Korotkov wrote:
>> Now there is a similar workaround in the 010_tab_completion.pl with regex: qr/"mixedName\\?" /

> I think if there were or will be complaints from users about this behavior in Debian 10,
> then it makes sense to look for more complex solutions that will fix a backslash substitutions.
> If no such complaints, then it is better to make a workaround in test.

Actually, I think we ought to just reject this change.  Debian 10
will be two years past EOL before PG 17 ships.  So I don't see a
reason to support it in the tests anymore.  One of the points of
such testing is to expose broken platforms, not mask them.

Obviously, if anyone can point to a still-in-support platform
with the same bug, that calculus might change.

With respect to the other hacks Alexander mentions, maybe we
could clean some of those out too?  I don't recall what platform
we had in mind there, but we've moved our goalposts on what
we support pretty far in the last couple years.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: change regexp_substr first argument make tests more easier to understand.
Next
From: Tomas Vondra
Date:
Subject: Re: [PATCH] Add additional extended protocol commands to psql: \parse and \bindx