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 29A36D1EAD9 for ; Sat, 3 Apr 2004 05:35:46 +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 26942-02 for ; Sat, 3 Apr 2004 01:35:54 -0400 (AST) Received: from barolo.k2defender.com (barolo.k2defender.com [195.212.0.43]) by svr1.postgresql.org (Postfix) with ESMTP id B4736D1EA68 for ; Sat, 3 Apr 2004 01:35:42 -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 i335Zk4m028714 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Sat, 3 Apr 2004 06:35:52 +0100 (BST) Message-ID: <406E4D31.7070200@k2defender.com> Date: Sat, 03 Apr 2004 08:35:45 +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=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200404/6 X-Sequence-Number: 4827 [Apologies if you see multiple of these - this is my 4th attempt to post in 3 days.] 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