From: David Gagnon <dgagnon@siunik.com>
To: pgsql-jdbc@postgresql.org
Subject: upgrade problem with driver postgresql-8.1-407.jdbc3.jar
Date: Wed, 06 Sep 2006 11:12:22 -0400
Message-ID: <44FEE556.5000408@siunik.com> (raw)
Hi all,
I'm running into this problem when upgrading my jdbc driver from
pg74.216.jdbc3.jar to postgresql-8.1-407.jdbc3.jar
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 2006-09-06
09:48:20 ERROR: syntax error at or near "$1" at character 66
2006-09-06 09:48:20 STATEMENT: COPY vd (VDVSSRC, VDVSNUM,
VDKEY, VDDATA) FROM $1
Here is the VARCHAR given for $1:
c:\\temp\\webCatalog\\20060517030156.zip20060517030156.zip20060517030156.zip
If I try the corresponding command in pgAdmin3 it works well...
Any idea what is the error? Which I suspect is quite evident .. :-/
Thanks for the help!
Best Regards
/David
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: dgagnon@siunik.com
Subject: Re: upgrade problem with driver postgresql-8.1-407.jdbc3.jar
In-Reply-To: <44FEE556.5000408@siunik.com>
References: <44FEE556.5000408@siunik.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