pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Keaton Adams <kadams@mxlogic.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: ALTER TABLE - ALTER COLUMN question
Date: Tue, 29 May 2007 15:19:59 -0600
Message-ID: <1180473599.19986.15.camel@MXLRMT-208.corp.mxlogic.com> (raw)
In-Reply-To: <17811.1180473419@sss.pgh.pa.us>
References: <1180471333.19986.13.camel@MXLRMT-208.corp.mxlogic.com>
	<17811.1180473419@sss.pgh.pa.us>

After I sent my request I found the notes related to ALTER TABLE on page
1,331 of the 8.1 manual, so that helped to explain it.  Your reply to my
post confirmed what I thought I was reading.

Thanks for the reply,

Keaton



On Tue, 2007-05-29 at 17:16 -0400, Tom Lane wrote:

> Keaton Adams <kadams@mxlogic.com> writes:
> > In this example the created and msg_datetime columns are currently
> > defined as TIMESTAMP WITHOUT TIME ZONE and no default.  If the alter
> > table for these changes is not in-place then I would want to run it as a
> > single alter with all of the changes, such as this, instead of
> > individual alters for each change, correct?  (Because each individual
> > alter would require another table copy?)
> 
> That's why ALTER TABLE has the ability to do more than one thing in
> parallel ...
> 
> 			regards, tom lane

view thread (3+ messages)

Message-ID: <1180473599.19986.15.camel@MXLRMT-208.corp.mxlogic.com>
Permalink:  ../1180473599.19986.15.camel@MXLRMT-208.corp.mxlogic.com/
Also on:    postgresql.org/message-id/1180473599.19986.15.camel@MXLRMT-208.corp.mxlogic.com

 · 

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-admin@postgresql.org
  Cc: kadams@mxlogic.com, tgl@sss.pgh.pa.us
  Subject: Re: ALTER TABLE - ALTER COLUMN question
  In-Reply-To: <1180473599.19986.15.camel@MXLRMT-208.corp.mxlogic.com>
  References: <1180471333.19986.13.camel@MXLRMT-208.corp.mxlogic.com> <17811.1180473419@sss.pgh.pa.us> <1180473599.19986.15.camel@MXLRMT-208.corp.mxlogic.com>

* 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