| From: | "Dann Corbit" <DCorbit(at)connx(dot)com> |
|---|---|
| To: | "Thuan Truong" <ttruong(at)overtonesoftware(dot)com>, <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Fw: libpq or Embedded SQL in C |
| Date: | 2004-08-17 23:26:45 |
| Message-ID: | 54798A299E68514AB7C4DEBA25F03BE11913EA@postal.corporate.connx.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
You may be able to use the COPY command, which would probably be a lot
faster.
http://techdocs.postgresql.org/techdocs/usingcopy.php
There are sample programs in the INTERFACES subdirectory for each of the
interface types.
-----Original Message-----
From: pgsql-general-owner(at)postgresql(dot)org
[mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of Thuan Truong
Sent: Tuesday, August 17, 2004 2:42 PM
To: pgsql-general(at)postgresql(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Glen Parker | 2004-08-17 23:32:11 | Re: indexed column not working as fast as expected |
| Previous Message | Amir Zicherman | 2004-08-17 23:24:11 | indexed column not working as fast as expected |