From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>, Ian Barwick <barwick(at)gmx(dot)net>, Andre Schubert <andre(at)km3(dot)de>, pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Length of Varchar |
Date: | 2003-01-27 19:01:42 |
Message-ID: | 200301271901.h0RJ1gI18582@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Also, it only really works well for lengthening columns. If you shorten
them, the old values will remain their original longer length.
---------------------------------------------------------------------------
Tom Lane wrote:
> Robert Treat <xzilla(at)users(dot)sourceforge(dot)net> writes:
> > There is a "gamblers lunch", for those willing to risk total system
> > failure and the lives of there first born child.
>
> Aw, it's not that dangerous ;-). You can improve your odds considerably
> if you issue BEGIN; before you start dorking with the system tables,
> and COMMIT only after you're satisfied you have things right. If you
> realize you blew it, ROLLBACK.
>
> Still, I'd recommend practicing on a scratch database before you do it
> for real.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Jeremy Buchmann | 2003-01-27 19:58:06 | Re: New User - Please Help |
Previous Message | Gaetano Mendola | 2003-01-27 18:38:29 | Re: Replication |