BUG #15523: \df command not working in psql 10.4 postgres 11.1 version

Started by PG Bug reporting formover 7 years ago6 messagesbugs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following bug has been logged on the website:

Bug reference: 15523
Logged by: Vaishakh K
Email address: kmvaishakha@gmail.com
PostgreSQL version: 11.1
Operating system: macOS High Sierra
Description:

ERROR: column p.proisagg does not exist
LINE 6: WHEN p.proisagg THEN 'agg'

In reply to: PG Bug reporting form (#1)
Re: BUG #15523: \df command not working in psql 10.4 postgres 11.1 version

Hello

We already have warning in this case

WARNING: psql major version 10, server major version 11.
Some psql features might not work.

Do you have this one?

regards, Sergei

#3Alvaro Herrera
alvherre@2ndquadrant.com
In reply to: PG Bug reporting form (#1)
Re: BUG #15523: \df command not working in psql 10.4 postgres 11.1 version

On 2018-Nov-27, PG Bug reporting form wrote:

PostgreSQL version: 11.1
Operating system: macOS High Sierra
Description:

ERROR: column p.proisagg does not exist
LINE 6: WHEN p.proisagg THEN 'agg'

Ugh ... looks like we should have a test script that runs psql against
all older supported versions with all backslash commands to ensure
everything works correctly. Cross-version support is not complicated,
we just need to remind people to do it.

--
�lvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

#4Tom Lane
tgl@sss.pgh.pa.us
In reply to: Alvaro Herrera (#3)
Re: BUG #15523: \df command not working in psql 10.4 postgres 11.1 version

Alvaro Herrera <alvherre@2ndquadrant.com> writes:

On 2018-Nov-27, PG Bug reporting form wrote:

ERROR: column p.proisagg does not exist
LINE 6: WHEN p.proisagg THEN 'agg'

Ugh ... looks like we should have a test script that runs psql against
all older supported versions with all backslash commands to ensure
everything works correctly. Cross-version support is not complicated,
we just need to remind people to do it.

No, this appears to be a forward-compatibility problem not a
backward-compatibility one.

Getting a time machine *is* complicated.

regards, tom lane

In reply to: Tom Lane (#4)
Re: BUG #15523: \df command not working in psql 10.4 postgres 11.1 version

No, this appears to be a forward-compatibility problem not a
backward-compatibility one.

Exactly. Using v10 server with v11 client works as expected. We have such error when using client v10 with server v11 - with correct warning at psql startup.

regards, Sergei

#6Alvaro Herrera
alvherre@2ndquadrant.com
In reply to: Sergei Kornilov (#5)
Re: BUG #15523: \df command not working in psql 10.4 postgres 11.1 version

On 2018-Nov-27, Sergei Kornilov wrote:

No, this appears to be a forward-compatibility problem not a
backward-compatibility one.

Exactly. Using v10 server with v11 client works as expected. We have
such error when using client v10 with server v11 - with correct
warning at psql startup.

Doh. Well, we don't promise forward-compatibility, so the only bug is
that Vaishakh ignored the warning at the start of the session indicating
that some psql commands may not work ... (only now I read Sergei's
message correctly)

--
�lvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services