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

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Fabrízio Mello <fabriziomello(at)gmail(dot)com>
Cc: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: new table partitioning breaks \d table to older versions
Date: 2016-12-12 17:09:00
Message-ID: CA+TgmobU=abmEFJD7JNM+vR9OwVkw9mtbe7HJsTZ2jBa2jz5xA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Dec 9, 2016 at 1:18 PM, Fabrízio de Royes Mello
<fabriziomello(at)gmail(dot)com> wrote:
> On Fri, Dec 9, 2016 at 3:59 PM, 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...
>>
>
> Looks like they forgot to adjust version check number in describe.c code.
>
> Attched patch fix it.

Committed.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dmitry Ivanov 2016-12-12 17:14:14 Re: Declarative partitioning - another take
Previous Message Robert Haas 2016-12-12 16:52:30 Re: Nested Wait Events?