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 73FC2329E12 for ; Tue, 14 Sep 2004 15:35:56 +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 90156-01 for ; Tue, 14 Sep 2004 14:35:45 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id 1621A329DF7 for ; Tue, 14 Sep 2004 15:35:48 +0100 (BST) Received: (qmail 3370 invoked from network); 14 Sep 2004 14:36:12 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.36?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 14 Sep 2004 14:36:12 -0000 Subject: Re: Problem with dollar-quoted CREATE OR REPLACE FUNCTION From: Dave Cramer Reply-To: pg@fastcrypt.com To: Tim Penhey Cc: "pgsql-jdbc@postgresql.org" In-Reply-To: <41470089.8010207@penhey.net> References: <41470089.8010207@penhey.net> Content-Type: text/plain Organization: Cramer Consulting Message-Id: <1095172682.1549.65.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 14 Sep 2004 10:38:02 -0400 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/57 X-Sequence-Number: 10947 Can you show us the code, logs? Dave On Tue, 2004-09-14 at 10:30, Tim Penhey wrote: > 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 > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org -- Dave Cramer 519 939 0336 ICQ # 14675561 www.postgresintl.com