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

From Peter Eisentraut
Subject Re: BUG #16342: CREATE TABLE LIKE INCLUDING GENERATED column orderissue
Date
Msg-id dff50573-9092-4ad0-8fb6-a1f01e736f13@2ndquadrant.com
Whole thread Raw
In response to Re: BUG #16342: CREATE TABLE LIKE INCLUDING GENERATED column order issue  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses RE: BUG #16342: CREATE TABLE LIKE INCLUDING GENERATED column orderissue
List pgsql-bugs
On 2020-04-05 17:26, Tom Lane wrote:
> 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."

Committed with that.

Ethan, this will be in the next minor release of PostgreSQL 12.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-bugs by date:

Previous
From: hubert depesz lubaczewski
Date:
Subject: Loss of replication after simple misconfiguration
Next
From: Ethan Waldo
Date:
Subject: RE: BUG #16342: CREATE TABLE LIKE INCLUDING GENERATED column orderissue