pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: B. Jordan <bujordan@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: error: unterminated dollar-quoted string with 8.2-505.jdbc3.jar?
Date: Fri, 4 May 2007 12:19:12 -0400 (EDT)
Message-ID: <Pine.BSO.4.64.0705041216340.20762@leary.csoft.net> (raw)
In-Reply-To: <d7c16fe80705040907s45391a34p64b595f62531f078@mail.gmail.com>
References: <d7c16fe80705040907s45391a34p64b595f62531f078@mail.gmail.com>



On Fri, 4 May 2007, B. Jordan wrote:

> After digging through the archives and looking at the changelog for
> 8.2-505 and 8.2-504, it seems that $$ should work, but I'm still
> getting errors.
>
> Here's the error message:
> Caused by: org.postgresql.util.PSQLException: ERROR: unterminated
> dollar-quoted string at or near "$BODY$ BEGIN DELETE FROM ..."
>
> Any particular reason I shouldn't be able to execute that with the 
> latest version (8.2-505) of the driver?

Are you sure you don't have multiple versions of the driver around and 
it's selecting an older version?  The error above is exactly what I'd 
expect to see with a pre-8.2 driver.  You could also enable statement 
logging on the server to see exactly what the driver is sending to it.

Kris Jurka




view thread (3+ messages)  latest in thread

Message-ID: <Pine.BSO.4.64.0705041216340.20762@leary.csoft.net>
Permalink:  ../Pine.BSO.4.64.0705041216340.20762@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.64.0705041216340.20762@leary.csoft.net

 · 

reply

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: books@ejurka.com, bujordan@gmail.com
  Subject: Re: error: unterminated dollar-quoted string with 8.2-505.jdbc3.jar?
  In-Reply-To: <Pine.BSO.4.64.0705041216340.20762@leary.csoft.net>
  References: <d7c16fe80705040907s45391a34p64b595f62531f078@mail.gmail.com> <Pine.BSO.4.64.0705041216340.20762@leary.csoft.net>

* 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