pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Merlin Moncure <mmoncure@gmail.com>
Cc: Mike Blackwell <mike.blackwell@rrd.com>
Cc: Pg Bugs <pgsql-bugs@postgresql.org>
Cc: Pg General <pgsql-general@postgresql.org>
Subject: Re: [GENERAL] Altering a table with a rowtype column
Date: Wed, 07 Mar 2012 17:49:22 -0300
Message-ID: <1331153306-sup-5909@alvh.no-ip.org> (raw)
In-Reply-To: <18426.1331152292@sss.pgh.pa.us>
References: <CANPAkgsA3CrSzK_soK_FTO4S9jcwkA2T4EmQ-=tDzSq7rOhsLg@mail.gmail.com>
	<CAHyXU0xHT4xNPydEgCvzn=+HqmeH4=8WNxGJnyFp_gitYwzTZw@mail.gmail.com>
	<CANPAkgsyUtvNvzSoaS+--LP15hwAVSwh04QQtfNbFY1=9ip7Jg@mail.gmail.com>
	<CAHyXU0yBCz5t8BqfBK7M9dSWNw4+hvV9BWAizy9ZXhNYxTBAww@mail.gmail.com>
	<18426.1331152292@sss.pgh.pa.us>


Excerpts from Tom Lane's message of mié mar 07 17:31:32 -0300 2012:

> This probably could be done for rowtype columns as well, but nobody has
> collected the necessary round tuits.  I think there was some fear of
> locking/deadlock issues, too.

It's probably easy to do if you require it to be marked INVALID
initially and then validate the tables using it one by one.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support



view thread (14+ messages)  latest in thread

Message-ID: <1331153306-sup-5909@alvh.no-ip.org>
Permalink:  ../1331153306-sup-5909@alvh.no-ip.org/
Also on:    postgresql.org/message-id/1331153306-sup-5909@alvh.no-ip.org

 · 

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-bugs@postgresql.org
  Cc: alvherre@commandprompt.com, tgl@sss.pgh.pa.us, mmoncure@gmail.com, mike.blackwell@rrd.com, pgsql-general@postgresql.org
  Subject: Re: [GENERAL] Altering a table with a rowtype column
  In-Reply-To: <1331153306-sup-5909@alvh.no-ip.org>
  References: <CANPAkgsA3CrSzK_soK_FTO4S9jcwkA2T4EmQ-=tDzSq7rOhsLg@mail.gmail.com> <CAHyXU0xHT4xNPydEgCvzn=+HqmeH4=8WNxGJnyFp_gitYwzTZw@mail.gmail.com> <CANPAkgsyUtvNvzSoaS+--LP15hwAVSwh04QQtfNbFY1=9ip7Jg@mail.gmail.com> <CAHyXU0yBCz5t8BqfBK7M9dSWNw4+hvV9BWAizy9ZXhNYxTBAww@mail.gmail.com> <18426.1331152292@sss.pgh.pa.us> <1331153306-sup-5909@alvh.no-ip.org>

* 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