Discussion:
org.postgresql.copy.CopyManager which JDBC version ?
Emi Lu
2014-10-10 15:14:51 UTC
Permalink
Hello,

May I know from which version of psql JDBC driver, it provides
"org.postgresql.copy.CopyManager" please?

postgresql-8.3-605.jdbc4.jar does not have this class.

Thanks a lot!
Emi
--
Sent via pgsql-general mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
Tim Clarke
2014-10-10 15:22:29 UTC
Permalink
Post by Emi Lu
Hello,
May I know from which version of psql JDBC driver, it provides
"org.postgresql.copy.CopyManager" please?
postgresql-8.3-605.jdbc4.jar does not have this class.
Thanks a lot!
Emi
Its present in both the JDB3 and JDBC4 jar files on my 14.04 Ubuntu box.
It is *not* present in postgresql-8.3-604.jdbc4.jar on an older Fedora
box but it is there in postgresql-8.4-701.jdbc4.jar on the same machine.

HTH
--
Tim Clarke
IT Director
Manifest
9 Freebournes Court
Newland Street
Witham, Essex
CM8 2BL
England

Phone: +44 1376 503500
Direct: +44 1376 504510
Fax: +44 1376 503550
Email: ***@manifest.co.uk <mailto:***@manifest.co.uk>
Web: http://www.manifest.co.uk
Skype: callto:tim.clarke

Manifest is the trading name of: Manifest Information Services Ltd: Registered in England Number 3401145 & The Manifest Voting Agency Ltd:
Registered in England Number 2920820. Registered Office at above address. VAT Registration Number: GB 700 1880 77
Copyright: This e-mail may contain confidential or legally privileged information.
If you are not the named addressee you must not use or disclose such information, instead please report it to: ***@manifest.co.uk
Please see http://www.manifest.co.uk/legal/legal_notices.htm for further information.
--
Sent via pgsql-general mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
Tim Clarke
2014-10-10 15:29:56 UTC
Permalink
Post by Tim Clarke
Post by Emi Lu
Hello,
May I know from which version of psql JDBC driver, it provides
"org.postgresql.copy.CopyManager" please?
postgresql-8.3-605.jdbc4.jar does not have this class.
Thanks a lot!
Emi
Its present in both the JDB3 and JDBC4 jar files on my 14.04 Ubuntu box.
It is *not* present in postgresql-8.3-604.jdbc4.jar on an older Fedora
box but it is there in postgresql-8.4-701.jdbc4.jar on the same machine.
HTH
Sorry - forgot to add that those Ubuntu files are
postgresql-jdbc3-9.2.jar and postgresql-jdbc4-9.2.jar
--
Tim Clarke
IT Director
Manifest
9 Freebournes Court
Newland Street
Witham, Essex
CM8 2BL
England

Phone: +44 1376 503500
Direct: +44 1376 504510
Fax: +44 1376 503550
Email: ***@manifest.co.uk <mailto:***@manifest.co.uk>
Web: http://www.manifest.co.uk
Skype: callto:tim.clarke

Manifest is the trading name of: Manifest Information Services Ltd: Registered in England Number 3401145 & The Manifest Voting Agency Ltd:
Registered in England Number 2920820. Registered Office at above address. VAT Registration Number: GB 700 1880 77
Copyright: This e-mail may contain confidential or legally privileged information.
If you are not the named addressee you must not use or disclose such information, instead please report it to: ***@manifest.co.uk
Please see http://www.manifest.co.uk/legal/legal_notices.htm for further information.
--
Sent via pgsql-general mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
Adrian Klaver
2014-10-10 16:32:43 UTC
Permalink
Post by Emi Lu
Hello,
May I know from which version of psql JDBC driver, it provides
"org.postgresql.copy.CopyManager" please?
postgresql-8.3-605.jdbc4.jar does not have this class.
Well according to this:

http://jdbc.postgresql.org/documentation/pgjdbc_changelog-8.0-8.4.tar.gz

Version 8.4-701 (2009-07-01)

add Implement support for COPY in the JDBC driver with a non-standard
postgresql CopyManager API. This provides support for both copy from the
server and to the server and operating in either a source or sink mode.
Committed by jurka. Thanks to Kalle Hallivuori.
Post by Emi Lu
Thanks a lot!
Emi
--
Adrian Klaver
***@aklaver.com
--
Sent via pgsql-general mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
Loading...