Thanks, Dann. Let me try and will let you know.
Andy
----- Original Message -----
Sent: Tuesday, August 17, 2004 7:26 PM
Subject: Re: [GENERAL] Fw: libpq or Embedded SQL in C
You may be able to use the COPY command, which would probably be a lot faster.
There are sample programs in the INTERFACES subdirectory for each of the interface types.
All,
I need to upload (insert) a flat file to PostgresSQL DB (on Solaris 9) using C. I wonder if I should use libpq functions or embedded SQL in C (libecpg). Any help is appreciated. If you have any sample programs, please send along.
Thanks,
Andy Truong