Thread: libpq or Embedded SQL in C

libpq or Embedded SQL in C

From
"Thuan Truong"
Date:
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