pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: David Gagnon <dgagnon@siunik.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: upgrade problem with driver postgresql-8.1-407.jdbc3.jar
Date: Thu, 07 Sep 2006 08:13:22 +1200
Message-ID: <44FF2BE2.2020708@opencloud.com> (raw)
In-Reply-To: <44FED47A.3010008@siunik.com>
References: <44FED47A.3010008@siunik.com>

David Gagnon wrote:

> I started having syntax error with the new driver and cannot find where 
> is the problem. 
> Here is the log:

> 2006-09-06 09:48:20 LOG:  statement: PREPARE <unnamed> AS           COPY 
> vd (VDVSSRC, VDVSNUM, VDKEY, VDDATA)         FROM $1

Unfortunately that means you are using a ? placeholder in a location 
where the server-side SQL grammar doesn't allow a parameter. You will 
have to construct the query by hand yourself rather than using ?.

-O



view thread (6+ messages)  latest in thread

Message-ID: <44FF2BE2.2020708@opencloud.com>
Permalink:  ../44FF2BE2.2020708@opencloud.com/
Also on:    postgresql.org/message-id/44FF2BE2.2020708@opencloud.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: oliver@opencloud.com, dgagnon@siunik.com
  Subject: Re: upgrade problem with driver postgresql-8.1-407.jdbc3.jar
  In-Reply-To: <44FF2BE2.2020708@opencloud.com>
  References: <44FED47A.3010008@siunik.com> <44FF2BE2.2020708@opencloud.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