Skip site navigation (1) Skip section navigation (2)

Re: COPY command works with older driver but not newer one ?

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Warren Bell <warren(at)clarksnutrition(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: COPY command works with older driver but not newer one ?
Date: 2009-01-12 05:44:04
Message-ID: 496AD8A4.3020404@opencloud.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
Warren Bell wrote:

> When you say server I am assuming you are talking about the database,

I mean the database server processes, yes.

> Why does it 
> work with the older driver and not the new one?

Because the newer driver (here, "newer" means something like "anything 
more recent than 2005") uses a newer version of the wire protocol and 
passes parameter values out-of-line from the query string, rather than 
substituting parameter values into the query string itself.

-O


In response to

pgsql-jdbc by date

Next:From: Kris JurkaDate: 2009-01-15 04:29:04
Subject: Re: Support of getting generated keys in driver version 8.4devel
Previous:From: Warren BellDate: 2009-01-12 02:28:13
Subject: Re: COPY command works with older driver but not newer one ?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group