pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #15523: \df command not working in psql 10.4 postgres 11.1 version
6+ messages / 4 participants
[nested] [flat]

* BUG #15523: \df command not working in psql 10.4 postgres 11.1 version
@ 2018-11-27 10:53 PG Bug reporting form <noreply@postgresql.org>
  2018-11-27 11:21 ` Re: BUG #15523: \df command not working in psql 10.4 postgres 11.1 version Sergei Kornilov <sk@zsrv.org>
  2018-11-27 13:55 ` Re: BUG #15523: \df command not working in psql 10.4 postgres 11.1 version Alvaro Herrera <alvherre@2ndquadrant.com>
  0 siblings, 2 replies; 6+ messages in thread

From: PG Bug reporting form @ 2018-11-27 10:53 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: kmvaishakha@gmail.com

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'



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: BUG #15523: \df command not working in psql 10.4 postgres 11.1 version
  2018-11-27 10:53 BUG #15523: \df command not working in psql 10.4 postgres 11.1 version PG Bug reporting form <noreply@postgresql.org>
@ 2018-11-27 11:21 ` Sergei Kornilov <sk@zsrv.org>
  1 sibling, 0 replies; 6+ messages in thread

From: Sergei Kornilov @ 2018-11-27 11:21 UTC (permalink / raw)
  To: kmvaishakha@gmail.com <kmvaishakha@gmail.com>; pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>

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




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: BUG #15523: \df command not working in psql 10.4 postgres 11.1 version
  2018-11-27 10:53 BUG #15523: \df command not working in psql 10.4 postgres 11.1 version PG Bug reporting form <noreply@postgresql.org>
@ 2018-11-27 13:55 ` Alvaro Herrera <alvherre@2ndquadrant.com>
  2018-11-27 14:49   ` Re: BUG #15523: \df command not working in psql 10.4 postgres 11.1 version Tom Lane <tgl@sss.pgh.pa.us>
  1 sibling, 1 reply; 6+ messages in thread

From: Alvaro Herrera @ 2018-11-27 13:55 UTC (permalink / raw)
  To: kmvaishakha@gmail.com; pgsql-bugs@lists.postgresql.org

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




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: BUG #15523: \df command not working in psql 10.4 postgres 11.1 version
  2018-11-27 10:53 BUG #15523: \df command not working in psql 10.4 postgres 11.1 version PG Bug reporting form <noreply@postgresql.org>
  2018-11-27 13:55 ` Re: BUG #15523: \df command not working in psql 10.4 postgres 11.1 version Alvaro Herrera <alvherre@2ndquadrant.com>
@ 2018-11-27 14:49   ` Tom Lane <tgl@sss.pgh.pa.us>
  2018-11-27 14:59     ` Re: BUG #15523: \df command not working in psql 10.4 postgres 11.1 version Sergei Kornilov <sk@zsrv.org>
  0 siblings, 1 reply; 6+ messages in thread

From: Tom Lane @ 2018-11-27 14:49 UTC (permalink / raw)
  To: Alvaro Herrera <alvherre@2ndquadrant.com>; +Cc: kmvaishakha@gmail.com; pgsql-bugs@lists.postgresql.org

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




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: BUG #15523: \df command not working in psql 10.4 postgres 11.1 version
  2018-11-27 10:53 BUG #15523: \df command not working in psql 10.4 postgres 11.1 version PG Bug reporting form <noreply@postgresql.org>
  2018-11-27 13:55 ` Re: BUG #15523: \df command not working in psql 10.4 postgres 11.1 version Alvaro Herrera <alvherre@2ndquadrant.com>
  2018-11-27 14:49   ` Re: BUG #15523: \df command not working in psql 10.4 postgres 11.1 version Tom Lane <tgl@sss.pgh.pa.us>
@ 2018-11-27 14:59     ` Sergei Kornilov <sk@zsrv.org>
  2018-11-27 15:08       ` Re: BUG #15523: \df command not working in psql 10.4 postgres 11.1 version Alvaro Herrera <alvherre@2ndquadrant.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Sergei Kornilov @ 2018-11-27 14:59 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; Alvaro Herrera <alvherre@2ndquadrant.com>; +Cc: kmvaishakha@gmail.com <kmvaishakha@gmail.com>; pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>

> 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




^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: BUG #15523: \df command not working in psql 10.4 postgres 11.1 version
  2018-11-27 10:53 BUG #15523: \df command not working in psql 10.4 postgres 11.1 version PG Bug reporting form <noreply@postgresql.org>
  2018-11-27 13:55 ` Re: BUG #15523: \df command not working in psql 10.4 postgres 11.1 version Alvaro Herrera <alvherre@2ndquadrant.com>
  2018-11-27 14:49   ` Re: BUG #15523: \df command not working in psql 10.4 postgres 11.1 version Tom Lane <tgl@sss.pgh.pa.us>
  2018-11-27 14:59     ` Re: BUG #15523: \df command not working in psql 10.4 postgres 11.1 version Sergei Kornilov <sk@zsrv.org>
@ 2018-11-27 15:08       ` Alvaro Herrera <alvherre@2ndquadrant.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Alvaro Herrera @ 2018-11-27 15:08 UTC (permalink / raw)
  To: Sergei Kornilov <sk@zsrv.org>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; kmvaishakha@gmail.com <kmvaishakha@gmail.com>; pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>

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




^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2018-11-27 15:08 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-11-27 10:53 BUG #15523: \df command not working in psql 10.4 postgres 11.1 version PG Bug reporting form <noreply@postgresql.org>
2018-11-27 11:21 ` Sergei Kornilov <sk@zsrv.org>
2018-11-27 13:55 ` Alvaro Herrera <alvherre@2ndquadrant.com>
2018-11-27 14:49   ` Tom Lane <tgl@sss.pgh.pa.us>
2018-11-27 14:59     ` Sergei Kornilov <sk@zsrv.org>
2018-11-27 15:08       ` Alvaro Herrera <alvherre@2ndquadrant.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox