Re: [patch] pg_attribute.attndims turns to 0 when 'create table like/as'

2018-04-16 Thread Alexey Bashtanov
Judging from the discussion in [1], attndims is deprecated. Good to know, thanks. Could you describe what you are trying to achieve with it? Mostly conformance with the documentation. Might be easier to fix the docs though.

Re: [patch] pg_attribute.attndims turns to 0 when 'create table like/as'

2018-04-16 Thread Alexander Kuzmenkov
On 04/16/2018 05:01 PM, Alexey Bashtanov wrote: As reported in [1], pg_attribute.attndims turns to 0 when 'create table like/as'. The patch attached is to fix it. Hi Alexey, Judging from the discussion in [1], attndims is deprecated. Could you describe what you are trying to achieve with it

[patch] pg_attribute.attndims turns to 0 when 'create table like/as'

2018-04-16 Thread Alexey Bashtanov
As reported in [1], pg_attribute.attndims turns to 0 when 'create table like/as'. The patch attached is to fix it. Best Regards,   Alexey [1] https://www.postgresql.org/message-id/20150707072942.1186.98151%40wrigleys.postgresql.org diff --git a/src/backend/nodes/makefuncs.c b/src/backend/nodes