From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Treat <xzilla@users.sourceforge.net>
Cc: Ian Barwick <barwick@gmx.net>
Cc: Andre Schubert <andre@km3.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: Length of Varchar
Date: Mon, 27 Jan 2003 14:01:42 -0500 (EST)
Message-ID: <200301271901.h0RJ1gI18582@candle.pha.pa.us> (raw)
In-Reply-To: <13426.1043423139@sss.pgh.pa.us>
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@users.sourceforge.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@postgresql.org
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
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: pgman@candle.pha.pa.us, tgl@sss.pgh.pa.us, xzilla@users.sourceforge.net, barwick@gmx.net, andre@km3.de
Subject: Re: Length of Varchar
In-Reply-To: <200301271901.h0RJ1gI18582@candle.pha.pa.us>
References: <13426.1043423139@sss.pgh.pa.us> <200301271901.h0RJ1gI18582@candle.pha.pa.us>
* 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