Re: [GENERAL] Simulation output using libpq

2004-01-08 Thread Bruno Wolff III
On Tue, Jan 06, 2004 at 10:50:57 -, Daryl Shanley <[EMAIL PROTECTED]> wrote: > I have some c code that writes results directly to a file as they're > produced during a simulation. I want to modify the code to write > directly to a postgres database using libpq. I think I could open a > connec

Re: [GENERAL] Simulation output using libpq

2004-01-08 Thread Ben
Sorry, what's to keep you from increasing the max number of connections? On Thu, 8 Jan 2004, C G wrote: > Dear All, > > I have some c code that writes results directly to a file as they're > produced during a simulation. I want to modify the code to write > directly to a postgres database using

[GENERAL] Simulation output using libpq

2004-01-08 Thread C G
Dear All, I have some c code that writes results directly to a file as they're produced during a simulation. I want to modify the code to write directly to a postgres database using libpq. I think I could open a connection and insert into the database with a transaction, commiting at the end of th