insert records from a CSV file

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

insert records from a CSV file

sangeetha
All,

How can I insert rows from a CSV file using libpq interface, other than PQputCopyData.

Thanks and Regards,
S.Sangeetha
Reply | Threaded
Open this post in threaded view
|

Re: insert records from a CSV file

Bruce Momjian
On Thu, Jun 23, 2016 at 01:57:33AM -0700, sangeetha wrote:
> All,
>
> How can I insert rows from a CSV file using libpq interface, other than
> PQputCopyData.

There are no other options.

--
  Bruce Momjian  <[hidden email]>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+                     Ancient Roman grave inscription +


--
Sent via pgsql-interfaces mailing list ([hidden email])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-interfaces