X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id AD5DAD1E9AC for ; Thu, 1 Apr 2004 08:21:50 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 08228-03 for ; Thu, 1 Apr 2004 04:21:50 -0400 (AST) Received: from barolo.k2defender.com (barolo.k2defender.com [195.212.0.43]) by svr1.postgresql.org (Postfix) with ESMTP id AA58FD1E9D6 for ; Thu, 1 Apr 2004 04:21:47 -0400 (AST) Received: from k2defender.com (adriaan@duckula.cy.vtun.albourne.com [192.168.58.203]) by barolo.k2defender.com (8.12.1/8.12.1/K2Defender/1.11/BL/TLS) with ESMTP id i318Lh4m024290 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Thu, 1 Apr 2004 09:21:47 +0100 (BST) Message-ID: <406BD115.90908@k2defender.com> Date: Thu, 01 Apr 2004 11:21:41 +0300 From: Adriaan Joubert User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040312 Debian/1.6-3 X-Accept-Language: en-gb MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: Bug in translation of DEALLOCATE PREPARE Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200404/9 X-Sequence-Number: 4830 Hi, I believe in recent interface changes changes in ecpg the translation of 'DEALLOCATE PREPARE' were missed out. This worker fine under 7.3.5. Currently EXEC SQL DEALLOCATE PREPARE foobar; is translated to { ECPGdeallocate(__LINE__, ""foobar"");} The double quotes are obviously wrong, but when I remove them the compiler says that it now expects 3 arguments to ECPGdeallocate instead of 2. I assume this is a trivial fix to ecpg, but I don't have the time right now to try to understand what ecpg does internally. I'd really appreciate it if somebody could tell me how/where ecpg needs to be fixed. Cheers, Adriaan