Re: [HACKERS] new table partitioning breaks \d table to older versions

Поиск
Список
Период
Сортировка
От Fabrízio de Royes Mello
Тема Re: [HACKERS] new table partitioning breaks \d table to older versions
Дата
Msg-id CAFcNs+qxQsBizSV3imk39A4_Y2rTir91L-8x+1DW+6zeNWoRjg@mail.gmail.com
обсуждение исходный текст
Ответ на [HACKERS] new table partitioning breaks \d table to older versions  (Jeff Janes <jeff.janes@gmail.com>)
Ответы Re: [HACKERS] new table partitioning breaks \d table to older versions  (Jeff Janes <jeff.janes@gmail.com>)
Re: [HACKERS] new table partitioning breaks \d table to older versions  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers


On Fri, Dec 9, 2016 at 3:59 PM, 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...
>

Looks like they forgot to adjust version check number in describe.c code.

Attched patch fix it.

Regards,

--
Fabrízio de Royes Mello
Consultoria/Coaching PostgreSQL
>> Timbira: http://www.timbira.com.br
>> Blog: http://fabriziomello.github.io
>> Linkedin: http://br.linkedin.com/in/fabriziomello
>> Twitter: http://twitter.com/fabriziomello
>> Github: http://github.com/fabriziomello
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: [HACKERS] new table partitioning breaks \d table to older versions
Следующее
От: Keith Fiske
Дата:
Сообщение: Re: [HACKERS] [COMMITTERS] pgsql: Implement table partitioning.