Re: ALTER TABLE - ALTER COLUMN question

From: Keaton Adams <kadams(at)mxlogic(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: ALTER TABLE - ALTER COLUMN question
Date: 2007-05-29 21:19:59
Message-ID: 1180473599.19986.15.camel@MXLRMT-208.corp.mxlogic.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(at)mxlogic(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Roman Chervotkin 2007-05-29 22:09:00 pg_dump: Error message from server: ERROR: compressed data is corrupt
Previous Message Tom Lane 2007-05-29 21:16:59 Re: ALTER TABLE - ALTER COLUMN question