Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 5F6BA47676E for ; Mon, 27 Jan 2003 14:02:32 -0500 (EST) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id 72CCE476756 for ; Mon, 27 Jan 2003 14:02:30 -0500 (EST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id h0RJ1gI18582; Mon, 27 Jan 2003 14:01:42 -0500 (EST) From: Bruce Momjian Message-Id: <200301271901.h0RJ1gI18582@candle.pha.pa.us> Subject: Re: Length of Varchar In-Reply-To: <13426.1043423139@sss.pgh.pa.us> To: Tom Lane Date: Mon, 27 Jan 2003 14:01:42 -0500 (EST) Cc: Robert Treat , Ian Barwick , Andre Schubert , pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/290 X-Sequence-Number: 7132 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 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