libpq or Embedded SQL in C

Started by Thuan Truongover 21 years ago1 messagesgeneral
Jump to latest
#1Thuan Truong
ttruong@overtonesoftware.com

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