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 2A583D1C9B5 for ; Fri, 2 Apr 2004 16:57:05 +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 92143-03 for ; Fri, 2 Apr 2004 12:57:09 -0400 (AST) Received: from barolo.k2defender.com (barolo.k2defender.com [195.212.0.43]) by svr1.postgresql.org (Postfix) with ESMTP id 951CED1E208 for ; Fri, 2 Apr 2004 12:57:01 -0400 (AST) Received: from k2defender.com (adriaan@duckula.k2defender.com [192.168.51.85]) by barolo.k2defender.com (8.12.1/8.12.1/K2Defender/1.11/BL/TLS) with ESMTP id i32Guv4m001568 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Fri, 2 Apr 2004 17:57:04 +0100 (BST) Message-ID: <406D9B54.1070308@k2defender.com> Date: Fri, 02 Apr 2004 19:56:52 +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/12 X-Sequence-Number: 4833 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