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

From Mak, Jason
Subject populating a table via the COPY command using C code.
Date
Msg-id 521ABD2E7DC4254D9633A530906212D5026A97@xcgny105.northgrum.com
Whole thread Raw
Responses Re: populating a table via the COPY command using C code.
List pgsql-general
> hi,
>
> I'm writing an application in C that basically converts binary data into something meaningful.  My first attempt was
toparse the binary and insert directly to the database in one step.  But this proved to be very slow.  So I decided to
gowith a two step process.  The first step is to parse the data and create a flat file with tab delimited fields.  The
secondstep is to load this data using the COPY command.  I don't quite understand how this is done within C.  Can
someoneprovide me with some examples.  I've already done some searches on the internet.  the examples that I found
don'tmatch with I'm trying to do.  Please help! 
>
> thanks,
> jason.
>

pgsql-general by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: After insert trigger question
Next
From: Jon Lapham
Date:
Subject: restarting after power outage