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

From: Alexey Bashtanov <alexey(at)brandwatch(dot)com>
To: pgsql-hackers(at)postgresql(dot)org, sshang(at)pivotal(dot)io
Subject: [patch] pg_attribute.attndims turns to 0 when 'create table like/as'
Date: 2018-04-16 14:01:50
Message-ID: 7862e882-8b9a-0c8e-4a38-40ad374d3634@brandwatch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
create_table_like_populate_ndims.patch text/x-patch 2.3 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2018-04-16 14:04:59 Re: very slow queries when max_parallel_workers_per_gather is higher than zero
Previous Message Tomas Vondra 2018-04-16 13:52:24 Re: very slow queries when max_parallel_workers_per_gather is higher than zero