populating a table via the COPY command using C code.

Поиск
Список
Период
Сортировка
От Mak, Jason
Тема populating a table via the COPY command using C code.
Дата
Msg-id 521ABD2E7DC4254D9633A530906212D5026A97@xcgny105.northgrum.com
обсуждение исходный текст
Ответы Re: populating a table via the COPY command using C code.  (Michael Fuhr <mike@fuhr.org>)
Список 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 по дате отправления:

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: After insert trigger question
Следующее
От: Jon Lapham
Дата:
Сообщение: restarting after power outage