Re: new table partitioning breaks \d table to older versions

From: Amit Langote <amitlangote09(at)gmail(dot)com>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: new table partitioning breaks \d table to older versions
Date: 2016-12-09 18:17:56
Message-ID: CA+HiwqHMeXEcnQRTPc07tjhszNr4O_SgRiJDN84-1qFBkhE6Ng@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Dec 10, 2016 at 2:59 AM, Jeff Janes <jeff(dot)janes(at)gmail(dot)com> wrote:
> Since:
>
> commit f0e44751d7175fa3394da2c8f85e3ceb3cdbfe63
> Author: Robert Haas <rhaas(at)postgresql(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabrízio de Royes Mello 2016-12-09 18:18:57 Re: new table partitioning breaks \d table to older versions
Previous Message Amit Langote 2016-12-09 18:13:54 Re: [COMMITTERS] pgsql: Implement table partitioning.