Re: libpq++

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Belcher, Jim" <JBelcher(at)elastic(dot)com>
Cc: "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: libpq++
Date: 2001-01-15 14:32:16
Message-ID: 200101151432.JAA17707@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Can you try 7.0.X or 7.1 beta and let us know if it is still a problem?

[ Charset ISO-8859-1 unsupported, converting... ]
> 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
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

  • libpq++ at 2001-01-15 13:29:46 from Belcher, Jim

Browse pgsql-general by date

  From Date Subject
Next Message Jarmo Paavilainen 2001-01-15 15:37:24 SV: How to match percent sybmol in LIKE operator?
Previous Message rob 2001-01-15 14:12:19 Re: converting .xls to delimited file