Re: Fw: libpq or Embedded SQL in C - Mailing list pgsql-general

From Dann Corbit
Subject Re: Fw: libpq or Embedded SQL in C
Date
Msg-id 54798A299E68514AB7C4DEBA25F03BE11913EA@postal.corporate.connx.com
Whole thread Raw
In response to Fw: libpq or Embedded SQL in C  ("Thuan Truong" <ttruong@overtonesoftware.com>)
List pgsql-general
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.
-----Original Message-----
From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-owner@postgresql.org] On Behalf Of Thuan Truong
Sent: Tuesday, August 17, 2004 2:42 PM
To: pgsql-general@postgresql.org
Subject: [GENERAL] Fw: libpq or Embedded SQL in C

 
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
 

pgsql-general by date:

Previous
From: Amir Zicherman
Date:
Subject: indexed column not working as fast as expected
Next
From: "Glen Parker"
Date:
Subject: Re: indexed column not working as fast as expected