Search Postgresql Archives

populating a table via the COPY command using C code.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> hi,
> 
> I'm writing an application in C that basically converts binary data into something meaningful.  My first attempt was to parse the binary and insert directly to the database in one step.  But this proved to be very slow.  So I decided to go with a two step process.  The first step is to parse the data and create a flat file with tab delimited fields.  The second step is to load this data using the COPY command.  I don't quite understand how this is done within C.  Can someone provide me with some examples.  I've already done some searches on the internet.  the examples that I found don't match with I'm trying to do.  Please help!
> 
> thanks,
> jason.
> 

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to majordomo@xxxxxxxxxxxxxx)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux