pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: movead li <movead.li@highgo.ca>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Rearranging ALTER TABLE to avoid multi-operations bugs
Date: Tue, 3 Sep 2019 12:04:57 -0400
Message-ID: <20190903160457.GA15359@alvherre.pgsql> (raw)
In-Reply-To: <CA+hUKGKqs2e+QuCqH4FswuyB=V9QbOyW-y6CX3s_+tSK5bJq0g@mail.gmail.com>

On 2019-Aug-01, Thomas Munro wrote:

> With my hacker hat:  Hmm.  I haven't looked at the patch, but not
> passing down the QueryEnvironment when recursing is probably my fault,
> and folding all such things into a new mechanism that would avoid such
> bugs in the future sounds like a reasonable approach, if potentially
> complicated to back-patch.  I'm hoping to come back and look at this
> properly in a while.

Thomas: Any further input on this?  If I understand you correctly,
you're not saying that there's anything wrong with Tom's patch, just
that you would like to do some further hacking afterwards.

Tom: CFbot says this patch doesn't apply anymore.  Could you please
rebase?  Also: There's further input from Movead; his proposed test
cases might be useful to add.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services





view thread (23+ messages)  latest in thread

Message-ID: <20190903160457.GA15359@alvherre.pgsql>
Permalink:  ../20190903160457.GA15359@alvherre.pgsql/
Also on:    postgresql.org/message-id/20190903160457.GA15359@alvherre.pgsql

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: alvherre@2ndquadrant.com, thomas.munro@gmail.com, tgl@sss.pgh.pa.us, movead.li@highgo.ca
  Subject: Re: Rearranging ALTER TABLE to avoid multi-operations bugs
  In-Reply-To: <20190903160457.GA15359@alvherre.pgsql>
  References: <CA+hUKGKqs2e+QuCqH4FswuyB=V9QbOyW-y6CX3s_+tSK5bJq0g@mail.gmail.com> <20190903160457.GA15359@alvherre.pgsql>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox