Simulation output using libpq

Поиск
Список
Период
Сортировка
От C G
Тема Simulation output using libpq
Дата
Msg-id Law12-F407BsvBosGkw000205dc@hotmail.com
обсуждение исходный текст
Ответы Re: Simulation output using libpq  (Ben <bench@silentmedia.com>)
Список pgsql-general
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 the simulation. One problem with this approach is that if I
have a lot of simultaneous simulations running I may run into problems
with exceeding the maximum number of connections allowed. I would
welcome any advice

Many thanks

Colin

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today!
http://www.msn.co.uk/messenger


В списке pgsql-general по дате отправления:

Предыдущее
От: Travel Jadoo
Дата:
Сообщение: Re: order by is ambiguous
Следующее
От: Ben
Дата:
Сообщение: Re: Simulation output using libpq