Re: BUG #16272: Index expression can refer to wrong attributes if index is created via CREATE TABLE LIKE - Mailing list pgsql-bugs

From Michael Paquier
Subject Re: BUG #16272: Index expression can refer to wrong attributes if index is created via CREATE TABLE LIKE
Date
Msg-id 20200822014121.GC2108@paquier.xyz
Whole thread Raw
In response to Re: BUG #16272: Index expression can refer to wrong attributes if index is created via CREATE TABLE LIKE  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #16272: Index expression can refer to wrong attributes if index is created via CREATE TABLE LIKE  (Alexander Lakhin <exclusion@gmail.com>)
List pgsql-bugs
On Thu, Aug 20, 2020 at 03:18:24PM -0400, Tom Lane wrote:
> So attached is a complete fix for the issues discussed in this thread.
>
> Although I originally felt that we weren't going to be able to create
> a back-patchable fix, this seems much less invasive than my prior
> attempt, so I think it might be reasonable to back-patch.  The only
> external API break is the new AT_CookedColumnDefault subcommand,
> which we could stick at the end of the enum in stable branches.
>
> Thoughts?

For the archive's sake, this has been committed as of 5028981,
backpatched down to 9.5.
--
Michael

Attachment

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #16547: ECPG can't CALL the procedure which has INOUT parameter
Next
From: Tom Lane
Date:
Subject: Re: BUG #16589: Regression when using ADD UNIQUE+ADD FOREIGN KEY in same query in 13 beta