as stated,
does java jdbc driver for postgresql 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.
as stated,
does java jdbc driver for postgresql 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