Re: populating a table via the COPY command using C code.

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: "Mak, Jason" <jason(dot)mak(at)ngc(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: populating a table via the COPY command using C code.
Date: 2005-04-27 18:16:16
Message-ID: 20050427181616.GA76898@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-04-27 18:26:22 Re: restarting after power outage
Previous Message Peter Wiersig 2005-04-27 17:58:59 Re: Had a problem with pg_clog