X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 896BA9DD5A2 for ; Wed, 22 Mar 2006 17:50:29 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 70646-01 for ; Wed, 22 Mar 2006 17:50:29 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from eastrmmtao03.cox.net (eastrmmtao03.cox.net [68.230.240.36]) by postgresql.org (Postfix) with ESMTP id 939BF9DD59B for ; Wed, 22 Mar 2006 17:50:24 -0400 (AST) Received: from [192.168.0.8] (really [24.136.35.185]) by eastrmmtao03.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060322215019.EEE29285.eastrmmtao03.cox.net@[192.168.0.8]>; Wed, 22 Mar 2006 16:50:19 -0500 From: Robert Treat To: Tom Lane Subject: Re: ALTER TABLE x ALTER COLUMN y TYPE z Date: Wed, 22 Mar 2006 16:50:20 -0500 User-Agent: KMail/1.8.3 Cc: "Kevin Grittner" , pgsql-docs@postgresql.org References: <44213BD5.EE98.0025.0@wicourts.gov> <442158A9.EE98.0025.0@wicourts.gov> <19259.1143058484@sss.pgh.pa.us> In-Reply-To: <19259.1143058484@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603221650.21203.xzilla@users.sourceforge.net> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] X-Spam-Score: 0.12 X-Spam-Level: X-Archive-Number: 200603/32 X-Sequence-Number: 3489 On Wednesday 22 March 2006 15:14, Tom Lane wrote: > However, the arguments Robert pointed to had to do with concurrent > access to the table, and somehow I am not seeing the use-case for ALTER > COLUMN TYPE on a table that's being actively used by other clients. > It seems unlikely that you could do that without needing to also update > your client software. Altering between char and text or some such? Or something like INET to TEXT. (Not that it matters for the things being discussed here, but I think there are cases) -- Robert Treat Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL