Re: Problem with dollar-quoted CREATE OR REPLACE FUNCTION - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: Problem with dollar-quoted CREATE OR REPLACE FUNCTION
Date
Msg-id 1095172682.1549.65.camel@localhost.localdomain
Whole thread Raw
In response to Problem with dollar-quoted CREATE OR REPLACE FUNCTION  (Tim Penhey <tim@penhey.net>)
Responses Re: Problem with dollar-quoted CREATE OR REPLACE FUNCTION
List pgsql-jdbc
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


pgsql-jdbc by date:

Previous
From: Tim Penhey
Date:
Subject: Problem with dollar-quoted CREATE OR REPLACE FUNCTION
Next
From: Tim Penhey
Date:
Subject: Re: Problem with dollar-quoted CREATE OR REPLACE FUNCTION