| From: | "J(dot)F(dot) Oster" <jinfroster(at)mail(dot)ru> |
|---|---|
| To: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
| Subject: | PATCH: Fix bug in inherited column definition |
| Date: | 2014-02-10 17:58:36 |
| Message-ID: | 615950992.20140210215836@mail.ru |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgadmin-hackers |
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.
| Attachment | Content-Type | Size |
|---|---|---|
|
image/png | 17.4 KB |
| 140210_inherited_columns.patch | application/octet-stream | 795 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ashesh Vashi | 2014-02-11 05:05:27 | Re: pgAdmin 1.18.0 + slony-I 2.2.0 + PG 9.3 |
| Previous Message | Guillaume Lelarge | 2014-02-10 16:44:16 | Re: debugger.c tries to set log_min_messages, why? |