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

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org, tom(at)intevation(dot)de, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Subject: Re: BUG #16272: Index expression can refer to wrong attributes if index is created via CREATE TABLE LIKE
Date: 2020-08-22 01:41:21
Message-ID: 20200822014121.GC2108@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Meskes 2020-08-22 15:52:23 Re: BUG #16547: ECPG can't CALL the procedure which has INOUT parameter
Previous Message Bruce Momjian 2020-08-22 00:59:54 Re: BUG #16547: ECPG can't CALL the procedure which has INOUT parameter