Обсуждение: PATCH: Fix bug in inherited column definition

Поиск
Список
Период
Сортировка

PATCH: Fix bug in inherited column definition

От
"J.F. Oster"
Дата:
Hello!

Please see attached screenshot and a patch to fix that.

There are 6 system columns (tableoid,cmax,xmax,cmin,xmin,ctid) which
are counted before inherited columns go.
Steps to reproduce:
 1. Connect to database
 2. Create table parenttable (f1 integer, f2 integer,... and so on)
 3. Create table childtable inherits (parenttable)
 4. In "Options - UI Miscellaneous" enable "Show System Objects in the
 treeview".
 5. See definition of childtable.

Also free up memory taken by pgSet *inhtables.

--
Best regards,
 J.F.
Вложения

Re: PATCH: Fix bug in inherited column definition

От
Dave Page
Дата:
Thanks - patch applied!

On Mon, Feb 10, 2014 at 5:58 PM, J.F. Oster <jinfroster@mail.ru> wrote:
> Hello!
>
> Please see attached screenshot and a patch to fix that.
>
> There are 6 system columns (tableoid,cmax,xmax,cmin,xmin,ctid) which
> are counted before inherited columns go.
> Steps to reproduce:
>  1. Connect to database
>  2. Create table parenttable (f1 integer, f2 integer,... and so on)
>  3. Create table childtable inherits (parenttable)
>  4. In "Options - UI Miscellaneous" enable "Show System Objects in the
>  treeview".
>  5. See definition of childtable.
>
> Also free up memory taken by pgSet *inhtables.
>
> --
> Best regards,
>  J.F.
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>



--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company