pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <pg@fastcrypt.com>
To: chambers@imageworks.com
Cc: pgsql-jdbc@postgresql.org
Subject: Re: jdbc3, pg 8.1.4 , and stored procedures
Date: Wed, 30 Aug 2006 19:56:25 -0400
Message-ID: <4FBCA43B-C86C-4FEC-ADE1-DBA8986E1760@fastcrypt.com> (raw)
In-Reply-To: <44F61B1B.4030009@imageworks.com>
References: <44F61B1B.4030009@imageworks.com>

Matt,

That's pretty strange, the test suite in the driver uses exactly the  
same syntax.

Can you send a self contained test that fails ?

Dave
On 30-Aug-06, at 7:11 PM, Matt Chambers wrote:

> Greetings.  I've inherited this Tomcat / Postgres application and  
> I'm having a problem, not sure what is.  Basically, its a postgres  
> 8.1.4 server and a tomcat application.  All of the SQL is done in  
> plpgsql, which is called with prepareCall statements, example:
>
>  "{ ? = call getDispatchList ( ? ) }"
>
> With the 7.4 driver it works, with the 8.1 driver every query fails  
> with:
>
> WARNING: Caught unexpected: org.postgresql.util.PSQLException:  
> Malformed function or procedure escape syntax at offset 4.,  
> org.postgresql.util.PSQLException: Malformed function or procedure  
> escape syntax at offset 4.
>
> I've been able to move the other applications over to the 8.1  
> driver (none use stored procedures) no problem.  What is the secret?
>
> -- 
> Matt Chambers <chambers@imageworks.com>
> Sony Pictures Imageworks
> Software Engineer
> Phone: (310) 840 9072
> Cell: (703) 624 0221

view thread (5+ messages)  latest in thread

Message-ID: <4FBCA43B-C86C-4FEC-ADE1-DBA8986E1760@fastcrypt.com>
Permalink:  ../4FBCA43B-C86C-4FEC-ADE1-DBA8986E1760@fastcrypt.com/
Also on:    postgresql.org/message-id/4FBCA43B-C86C-4FEC-ADE1-DBA8986E1760@fastcrypt.com

 · 

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: pg@fastcrypt.com, chambers@imageworks.com
  Subject: Re: jdbc3, pg 8.1.4 , and stored procedures
  In-Reply-To: <4FBCA43B-C86C-4FEC-ADE1-DBA8986E1760@fastcrypt.com>
  References: <44F61B1B.4030009@imageworks.com> <4FBCA43B-C86C-4FEC-ADE1-DBA8986E1760@fastcrypt.com>

* 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