From: Dave Cramer <pg@fastcrypt.com>
To: Tim Penhey <tim@penhey.net>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: Problem with dollar-quoted CREATE OR REPLACE FUNCTION
Date: Tue, 14 Sep 2004 10:38:02 -0400
Message-ID: <1095172682.1549.65.camel@localhost.localdomain> (raw)
In-Reply-To: <41470089.8010207@penhey.net>
References: <41470089.8010207@penhey.net>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: pg@fastcrypt.com, tim@penhey.net
Subject: Re: Problem with dollar-quoted CREATE OR REPLACE FUNCTION
In-Reply-To: <1095172682.1549.65.camel@localhost.localdomain>
References: <41470089.8010207@penhey.net> <1095172682.1549.65.camel@localhost.localdomain>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox