开发者

does postgresql jdbc driver has \copy?

as stated,

does java jdbc driver for postgresql开发者_StackOverflow中文版 has client side \copy?

I wanted to do batch inserts into a table in the database on a remote machine with data from my text file on another machine.


Since the 8.4 driver there is support for the COPY command, through the CopyManager:

http://jdbc.postgresql.org/documentation/publicapi/org/postgresql/copy/CopyManager.html


add ip of your system from where you used to update database in pg_hba.conf file connect usinyg url

jdbc:postgresql://host:port/database

execute query

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜