Re: ALTER TABLE & COLUMN - Mailing list pgsql-general

From Vivek Khera
Subject Re: ALTER TABLE & COLUMN
Date
Msg-id x77keqzywc.fsf@onceler.kciLink.com
Whole thread Raw
In response to Re: ALTER TABLE & COLUMN  (Neil Conway <neilc@samurai.com>)
List pgsql-general
>>>>> "NC" == Neil Conway <neilc@samurai.com> writes:

NC> problem leaving this in the hands of the admin. The one exception might
NC> be changing the length limit on a varchar(n) column, but that's such a
NC> small case I'm not sure it's worth the bother (and can be done by
NC> hacking the system catalogs anyway).

That's a PITA to do, and scares the willies out of mere mortals,
myself included.  Doing a add column, rename old, copy data, rename
new is also a PITA, and I'm not sure the effects of that on foreign
keys that my reference that column.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

pgsql-general by date:

Previous
From: Ed L.
Date:
Subject: 7.3 pg_ctl anomaly
Next
From: Hunter Hillegas
Date:
Subject: Re: 7.3 on OS X HOWTO