X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 421A03A4470 for ; Thu, 13 Jan 2005 12:30:35 +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 35547-08 for ; Thu, 13 Jan 2005 12:30:22 +0000 (GMT) Received: from mx-00.sil.at (mx-00.sil.at [62.116.68.196]) by svr1.postgresql.org (Postfix) with ESMTP id 488CA3A4F1F for ; Thu, 13 Jan 2005 12:30:23 +0000 (GMT) Received: (qmail-ldap/ctrl 71810 invoked from network); 13 Jan 2005 12:30:21 -0000 Received: from unknown (HELO jupiter.sonorys.at) ([213.235.243.42]) (envelope-sender ) by mx-00.sil.at (qmail-ldap-1.03) with SMTP for ; 13 Jan 2005 12:30:21 -0000 Received: from neptun.sonorys.at (neptun.sonorys.at [172.24.1.17]) by jupiter.sonorys.at (8.11.7+Sun/8.11.7) with ESMTP id j0DCUVs16887 for ; Thu, 13 Jan 2005 13:30:31 +0100 (MET) Received: by neptun.sonorys.at with Internet Mail Service (5.5.2653.19) id ; Thu, 13 Jan 2005 13:30:23 +0100 Message-ID: From: =?iso-8859-1?Q?K=D6PFERL_Robert?= To: "'pgsql-sql@postgresql.org'" Subject: Re: Syntax error while altering col-type Date: Thu, 13 Jan 2005 13:30:21 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Virus-Scanned: by amavisd-new at hub.org X-Archive-Number: 200501/82 X-Sequence-Number: 19870 > > It really is. In fact, the feature was (IIRC) somewhat > controversial, because there are all sorts of decisions that need to > be made about what to do with incompatible types. What if you change > from int8 to int4? What about varchar(4) to char(4)? Just to name > two simple-minded examples. See the -general and -hackers archives > for plenty of previous discussion of this stuff. > but that's the reason, the USING clause exists. It however still remains a problem if triggers, constraints or referential integrity or vews are involved. so far