X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 017C73A25D0 for ; Mon, 17 Jan 2005 03:02:53 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 13209-05 for ; Mon, 17 Jan 2005 03:02:34 +0000 (GMT) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 6FD3D3A296C for ; Mon, 17 Jan 2005 03:02:34 +0000 (GMT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id j0H32PL13613; Sun, 16 Jan 2005 22:02:25 -0500 (EST) From: Bruce Momjian Message-Id: <200501170302.j0H32PL13613@candle.pha.pa.us> Subject: Re: FAQ doesn't mention ALTER COLUMN TYPE In-Reply-To: <20050117020745.GA83618@winnie.fuhr.org> To: Michael Fuhr Date: Sun, 16 Jan 2005 22:02:25 -0500 (EST) Cc: pgsql-docs@postgresql.org X-Mailer: ELM [version 2.4ME+ PL121 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.007 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/23 X-Sequence-Number: 2782 Michael Fuhr wrote: > Question 4.4 in the FAQ, "How do you remove a column from a table, > or change its data type?" doesn't mention 8.0's ability to alter a > column's type with ALTER TABLE tab ALTER COLUMN col TYPE new_type. > Since 8.0 is coming up the FAQ should probably mention this. Good point. Done. -- 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