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