X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A424F329D91 for ; Tue, 14 Sep 2004 15:30:34 +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 85201-07 for ; Tue, 14 Sep 2004 14:30:28 +0000 (GMT) Received: from smtp.nildram.co.uk (smtp.nildram.co.uk [195.112.4.54]) by svr1.postgresql.org (Postfix) with ESMTP id 18638329D86 for ; Tue, 14 Sep 2004 15:30:31 +0100 (BST) Received: from [127.0.0.1] (tpsoft.gotadsl.co.uk [81.6.252.137]) by smtp.nildram.co.uk (Postfix) with ESMTP id F14D424C871 for ; Tue, 14 Sep 2004 15:30:28 +0100 (BST) Message-ID: <41470089.8010207@penhey.net> Date: Tue, 14 Sep 2004 15:30:33 +0100 From: Tim Penhey User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Problem with dollar-quoted CREATE OR REPLACE FUNCTION Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/56 X-Sequence-Number: 10946 Hi All, I am currently using the beta 2 dev 3 binary for 8.0 on WinXP. I am using the pgdev.305.jdbc3.jar and eclipse for Java dev. I have a CREATE OR REPLACE FUNCTION that uses $BODY$ to start and finish the body of the function. When submitting that through jdbc it complains: ERROR: unterminated dollar-quoted string at or near "$BODY$ LANGUAGE 'plpgsql'" If I copy and paste that create function statement and paste it in pgAdmin, it works fine. Any ideas? Tim