Re: Rearranging ALTER TABLE to avoid multi-operations bugs - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Rearranging ALTER TABLE to avoid multi-operations bugs
Date
Msg-id 20190903160457.GA15359@alvherre.pgsql
Whole thread Raw
In response to Re: Rearranging ALTER TABLE to avoid multi-operations bugs  (Thomas Munro <thomas.munro@gmail.com>)
Responses Re: Rearranging ALTER TABLE to avoid multi-operations bugs
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: SIGQUIT on archiver child processes maybe not such a hot idea?
Next
From: Tom Lane
Date:
Subject: Re: Rearranging ALTER TABLE to avoid multi-operations bugs