Re: Fw: libpq or Embedded SQL in C

From: "Thuan Truong" <ttruong(at)overtonesoftware(dot)com>
To: "Dann Corbit" <DCorbit(at)connx(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Fw: libpq or Embedded SQL in C
Date: 2004-08-18 14:08:21
Message-ID: 000c01c4852c$d244b570$2002a8c0@FCNI.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

MessageThanks, Dann. Let me try and will let you know.

Andy
----- Original Message -----
From: Dann Corbit
To: Thuan Truong ; pgsql-general(at)postgresql(dot)org
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.
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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message aplst 2004-08-18 14:09:33 tracking db changes / comparing databases
Previous Message Mitch Pirtle 2004-08-18 14:05:17 Re: [GENERAL] High Availability - Performace Scalability