From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | Christoph Berg <myon(at)debian(dot)org>, Andres Freund <andres(at)anarazel(dot)de>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: pgsql: Add basic TAP tests for psql's tab-completion logic. |
Date: | 2020-01-09 15:46:45 |
Message-ID: | 7491.1578584805@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> The level of effort you've put into this is extremely impressive, but
> I can't shake the feeling that you're going to keep finding issues in
> the test setup, the operating system, or the upstream libraries,
> rather than bugs in PostgreSQL. Maybe this is all just one-time
> stabilization effort, but...
Yeah, this is pretty nearly what I feared would happen, given libedit's
apparently-well-earned evil reputation. I suspect that the filename
completion tests I posted over in that thread may expose another round
of issues. If we can get past that, I think that expanding our test
coverage for the rest of tab-complete.c should be relatively
unproblematic, because there aren't very many other readline behaviors
that tab-complete.c is depending on.
One alternative is to give up on the idea of ever having any test
coverage for tab-complete.c, which doesn't seem very desirable.
Or we could disable the tests when using libedit, or provide some
switch to make it easier for the user/packager to do so.
In Debian's case, I suspect that they don't care about the behavior
when using libedit, so skipping the test would be just fine for them.
What they really ought to test is what happens after they sub in
libreadline at runtime ... but I imagine that their dubious legal
theories about all this would prevent them from actually doing that
during the package build.
regards, tom lane
PS: Stepping back from the immediate problem, it's obviously better
for all concerned if libedit is usable with Postgres. So if they're
willing to patch problems, which we've found out they are, then coping
with this stuff is a win in the long run.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2020-01-09 15:50:11 | Re: pgsql: Add basic TAP tests for psql's tab-completion logic. |
Previous Message | Peter Eisentraut | 2020-01-09 15:18:18 | pgsql: doc: Add link to upgrading chapter to release notes |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2020-01-09 15:50:11 | Re: pgsql: Add basic TAP tests for psql's tab-completion logic. |
Previous Message | Robert Haas | 2020-01-09 15:42:35 | Re: Removing pg_pltemplate and creating "trustable" extensions |