destroydb doesn't close connection with client (httpd <-> pg)

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: hackers(at)postgresql(dot)org
Subject: destroydb doesn't close connection with client (httpd <-> pg)
Date: 1999-06-12 18:57:38
Message-ID: Pine.GSO.3.96.SK.990612224559.27855D-100000@ra
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I have Web site where I use persistent connection between
httpd (Apache) and database (postgres,6.5). I noticed strange
results I got after reloading page with results from query
when I destroydb , createdb, fill db ( with the same data ).
It seems backend doesn't close connection when db is destroyed
and this produces unpredictable results. My application is
written in Perl and uses DBI/DBD for persistent connection.
I don't know is it DBI/DBD problem or backend must close
all connections to DB when it destroyed.

Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Edmund Mergl 1999-06-12 19:46:45 Re: [HACKERS] destroydb doesn't close connection with client (httpd <-> pg)
Previous Message Massimo Dal Zotto 1999-06-12 18:42:24 new patches