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 6CB673A5D13 for ; Wed, 12 Jan 2005 17:02:32 +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 44606-06 for ; Wed, 12 Jan 2005 17:02:24 +0000 (GMT) Received: from mx-00.sil.at (mx-00.sil.at [62.116.68.196]) by svr1.postgresql.org (Postfix) with ESMTP id 84C3C3A5C45 for ; Wed, 12 Jan 2005 17:02:22 +0000 (GMT) Received: (qmail-ldap/ctrl 41263 invoked from network); 12 Jan 2005 17:02:18 -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 ; 12 Jan 2005 17:02:18 -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 j0CH2Ts05108 for ; Wed, 12 Jan 2005 18:02:30 +0100 (MET) Received: by neptun.sonorys.at with Internet Mail Service (5.5.2653.19) id ; Wed, 12 Jan 2005 18:02:21 +0100 Message-ID: From: =?iso-8859-1?Q?K=D6PFERL_Robert?= To: "'pgsql-sql@postgresql.org'" Subject: Syntax error while altering col-type Date: Wed, 12 Jan 2005 18:02:10 +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/56 X-Sequence-Number: 19844 Hi, I am perplexed. I tried to change the type of a column using the syntax I found in the [ALTER TABLE] section: ALTER TABLE "Mailboxes" ALTER COLUMN "Status" TYPE int4; This shuld be no problem since the current type acutally is int4 and the names are copy'n'pasted. The server responds as follows: ERROR: syntax error at or near "TYPE" at character 47 It seems like it doesn't like the "type". My compiler-experience tells me that the column identifier is somehow broken. But it exists! What went wrong?