Re: [HACKERS] new table partitioning breaks \d table to older versions - Mailing list pgsql-hackers

From Amit Langote
Subject Re: [HACKERS] new table partitioning breaks \d table to older versions
Date
Msg-id CA+HiwqHMeXEcnQRTPc07tjhszNr4O_SgRiJDN84-1qFBkhE6Ng@mail.gmail.com
Whole thread Raw
In response to [HACKERS] new table partitioning breaks \d table to older versions  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-hackers
On Sat, Dec 10, 2016 at 2:59 AM, Jeff Janes <jeff.janes@gmail.com> wrote:
> Since:
>
> commit f0e44751d7175fa3394da2c8f85e3ceb3cdbfe63
> Author: Robert Haas <rhaas@postgresql.org>
> Date:   Wed Dec 7 13:17:43 2016 -0500
>
>     Implement table partitioning.
>
> If I use psql compiled from 10devel to connect to a 9.6.1 server, then \d
> fails:
>
> psql (10devel-f0e4475, server 9.6.1-16e7c02)
> Type "help" for help.
>
>
> # \d pgbench_accounts
> ERROR:  column c.relpartbound does not exist
> LINE 1: ...ELECT inhparent::pg_catalog.regclass, pg_get_expr(c.relpartb...

Oops, server version check was added to the relevant code for pg_dump,
but not psql...  Will send a patch soon.  Thanks for catching it.

Thanks,
Amit



pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: [HACKERS] [COMMITTERS] pgsql: Implement table partitioning.
Next
From: Fabrízio de Royes Mello
Date:
Subject: Re: [HACKERS] new table partitioning breaks \d table to older versions