Re: BUG #16059: Tab-completion of filenames in COPY commands removes required quotes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, steven(dot)winfield(at)cantabcapital(dot)com
Subject: Re: BUG #16059: Tab-completion of filenames in COPY commands removes required quotes
Date: 2019-12-11 16:34:51
Message-ID: 17379.1576082091@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> On Wed, Dec 11, 2019 at 10:52 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> I think it's Debian's problem, not ours, if that doesn't work. It is
>> not unreasonable for a package to probe existence of a library function
>> at configure time. It's up to them to make sure that the headers match
>> the actual library.

> That seems like an unhelpful attitude. Debian is a mainstream
> platform, and no doubt feels that they have important reasons for what
> they are doing.

Nonetheless, if they're doing that, it's *their* bug not ours when
the run-time library fails to match what was supplied to compile
against. I think it would fall to them to patch either libedit
or readline to make those two agree. This is not different in any
way from the expectation that a platform supply a libc whose ABI
is stable.

In any case, this discussion is a bit hypothetical isn't it?
If I understand correctly, your concern is that the proposed
patch might fail to take advantage of functionality that actually
might be present at runtime. So what? It's no worse than before.
More, it's likely that there are other similar losses of functionality
already in our code and/or other peoples'. Debian bought into that
tradeoff, not us.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Andres Freund 2019-12-11 16:35:22 Re: logical decoding bug: segfault in ReorderBufferToastReplace()
Previous Message PG Bug reporting form 2019-12-11 16:22:03 BUG #16160: Minor memory leak in case of starting postgres server with SSL encryption

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2019-12-11 16:35:22 Re: logical decoding bug: segfault in ReorderBufferToastReplace()
Previous Message Ibrar Ahmed 2019-12-11 16:29:17 Re: VACUUM memory management