pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Simon Riggs <simon@2ndquadrant.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: ALTER TABLE lock downgrades have broken pg_upgrade
Date: Sat, 07 May 2016 10:49:18 -0400
Message-ID: <1627.1462632558@sss.pgh.pa.us> (raw)
In-Reply-To: <CANP8+j+NfR+h-ZxhzHZ-bVKv6WZdqDLyUBW0hSFzRcQyWVC1QQ@mail.gmail.com>
References: <8110.1462291671@sss.pgh.pa.us>
	<CANP8+j+NfR+h-ZxhzHZ-bVKv6WZdqDLyUBW0hSFzRcQyWVC1QQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Simon Riggs <simon@2ndquadrant.com> writes:
> On 3 May 2016 at 18:07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Or at least, it did until Simon decided that ALTER TABLE RESET
>> doesn't require AccessExclusiveLock.

> On reflection, this still seems like a good idea.

Yes, what pg_upgrade was doing was clearly a hack, and not a very nice one.

> I accept that it is my bug and should fix it.

It's moot at this point, see 1a2c17f8e.

			regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (27+ messages)  latest in thread

Message-ID: <1627.1462632558@sss.pgh.pa.us>
Permalink:  ../1627.1462632558@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1627.1462632558@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, simon@2ndquadrant.com
  Subject: Re: ALTER TABLE lock downgrades have broken pg_upgrade
  In-Reply-To: <1627.1462632558@sss.pgh.pa.us>
  References: <8110.1462291671@sss.pgh.pa.us> <CANP8+j+NfR+h-ZxhzHZ-bVKv6WZdqDLyUBW0hSFzRcQyWVC1QQ@mail.gmail.com> <1627.1462632558@sss.pgh.pa.us>

* 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