Re: populating a table via the COPY command using C code. - Mailing list pgsql-general

From Michael Fuhr
Subject Re: populating a table via the COPY command using C code.
Date
Msg-id 20050427181616.GA76898@winnie.fuhr.org
Whole thread Raw
In response to populating a table via the COPY command using C code.  ("Mak, Jason" <jason.mak@ngc.com>)
List pgsql-general
On Wed, Apr 27, 2005 at 01:12:42PM -0400, Mak, Jason wrote:
>
> The second step is to load this data using the COPY command.
> I don't quite understand how this is done within C.

Are you writing a client application that uses libpq?  If so, have
you seen "Functions Associated with the COPY Command" in the libpq
chapter of the documentation?

http://www.postgresql.org/docs/8.0/interactive/libpq-copy.html

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

pgsql-general by date:

Previous
From: Peter Wiersig
Date:
Subject: Re: Had a problem with pg_clog
Next
From: Tom Lane
Date:
Subject: Re: restarting after power outage