X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3EEAB533F3 for ; Thu, 31 Mar 2005 15:13:26 +0100 (BST) 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 43796-02 for ; Thu, 31 Mar 2005 14:13:21 +0000 (GMT) Received: from smtp3.ualg.pt (unknown [193.136.224.6]) by svr1.postgresql.org (Postfix) with ESMTP id B0C8053568 for ; Thu, 31 Mar 2005 15:13:19 +0100 (BST) Received: from localhost (smtp3.ualg.pt [127.0.0.1]) by smtp3.ualg.pt (Postfix) with ESMTP id DC5F81E0BDC for ; Thu, 31 Mar 2005 15:13:23 +0100 (WEST) Received: from smtp3.ualg.pt ([127.0.0.1]) by localhost (smtp3.ualg.pt [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18245-07 for ; Thu, 31 Mar 2005 15:13:22 +0100 (WEST) Received: from [10.17.20.14] (raio.ualg.pt [10.17.20.14]) by smtp3.ualg.pt (Postfix) with ESMTP id DAFF81E0BB0 for ; Thu, 31 Mar 2005 15:13:22 +0100 (WEST) Message-ID: <424C0582.2040809@ualg.pt> Date: Thu, 31 Mar 2005 15:13:22 +0100 From: Luis Sousa User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050105 Debian/1.7.5-1 X-Accept-Language: en-pt MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Re: UPDATE problem References: <424BFC05.8040001@ualg.pt> In-Reply-To: <424BFC05.8040001@ualg.pt> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at ualg.pt X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.182 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200503/139 X-Sequence-Number: 5157 Any of the snapshots available have this problems solved? Luis Sousa wrote: > Hi all, > > I'm using Postgresql 7.3.4-9 Debian binaries and ODBC 8.00.01.01, on > Windows 2003 Server. > > Using ODBC, when the instruction > PREPARE "_PLAN586fbb8"(int4, int4) as UPDATE "public"."plano" SET > "alunosInscritos"=$1 WHERE "oid" = $2;EXECUTE "_PLAN586fbb8"(40,1676937) > > I get the following error: > ERROR: parser: parse error at or near "=$" at character 84 > > I changed from "alunosInscritos"=$1 to "alunosInscritos" = $1 and worked. > Is there any workaround for this? > > Also, I thought, probably using an older version of ODBC driver could > create a different SQL expression, but, when I tried to uninstall the > driver from Add/Remove Programs, everything went ok, but on ODBC Data > Sources -> Drivers, the driver still remains there. > Then I installed 7.03.0200, but didn't write over the other driver? > How can I deinstall the most recent driver and install an older one? > > Best regards, > Luis Sousa > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > >