Re: ALTER TABLE & COLUMN

From: Vivek Khera <khera(at)kcilink(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: ALTER TABLE & COLUMN
Date: 2002-12-03 19:27:15
Message-ID: x77keqzywc.fsf@onceler.kciLink.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>>>>> "NC" == Neil Conway <neilc(at)samurai(dot)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(at)kciLink(dot)com Rockville, MD +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Hunter Hillegas 2002-12-03 19:33:29 Re: 7.3 on OS X HOWTO
Previous Message Marc G. Fournier 2002-12-03 19:13:56 Re: PostgreSQL in Universities (Was: Re: 7.4 Wishlist)