libpq++

Поиск
Список
Период
Сортировка
От Belcher, Jim
Тема libpq++
Дата
Msg-id C42B8F21509DD411A8F400B0D049FF462A3AE7@mailman.elastic.com
обсуждение исходный текст
Ответы Re: libpq++
Список pgsql-general
I have a problem with postgres freeing resouces.

Consider the following routine.

int foo()
{
   PgDatabase     *pDatabase = new PgDatabase(cpDBName);


    // Use the connection, insert a record etc.

  delete pDatabase;
}

The delete call does not cause system resources to be freed, such
as the socket connection.  If you call this function about 1010 times,
postgres will fail, stating that there are no system resources, too
many open files.

I am using postgrex 6.x

Thanks

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

Предыдущее
От: Karel Zak
Дата:
Сообщение: Re: to_char WW
Следующее
От: Sergey Filatov
Дата:
Сообщение: How to match percent sybmol in LIKE operator?