Re: BUG #16342: CREATE TABLE LIKE INCLUDING GENERATED column order issue - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #16342: CREATE TABLE LIKE INCLUDING GENERATED column order issue
Date
Msg-id 10837.1586100396@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #16342: CREATE TABLE LIKE INCLUDING GENERATED column orderissue  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: BUG #16342: CREATE TABLE LIKE INCLUDING GENERATED column orderissue
List pgsql-bugs
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> Confirmed.  Attached is a patch to fix it.  Thanks for the report!

LGTM.  Perhaps extend the comment block just above, adding something
like "We must fill the attmap now so it can be used to process
GENERATED default expressions in the per-column loop."

            regards, tom lane



pgsql-bugs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: BUG #16342: CREATE TABLE LIKE INCLUDING GENERATED column orderissue
Next
From: PG Bug reporting form
Date:
Subject: BUG #16344: json_agg slow performance vs jsonb_agg, truncate table for master table with remote partition