Postgres+Perl - Mailing list pgsql-general

From Diego Delgado Lages
Subject Postgres+Perl
Date
Msg-id 381DB921.5E4806A0@linuxsolutions.com.br
Whole thread Raw
List pgsql-general

I have here Postgresql 6.5.1 running on a Debian Linux system and I am
having some problems.

I have written lots of applications in Perl using the "newstyle", but
there is a problem: it does not disconnect from the database. Like:

If I have  20 processes running at the same postgres start forking and
then he returns that "there are too many clients" (or something like
that)...

What can I do?

I noticed that in the "oldstyle" I can call PQfinish($conn). I already
tried calling PQfinish($conn)(with my "newstyle" program), but it didn't
work...


Regards,

Diego Lages

pgsql-general by date:

Previous
From: Stuart Rison
Date:
Subject: Re: [GENERAL] Untrusted functions on index creation.
Next
From: Herouth Maoz
Date:
Subject: Re: [GENERAL] Auto Ordering