PHP & PostrgreSQL - Mailing list pgsql-cygwin

From Tomek
Subject PHP & PostrgreSQL
Date
Msg-id 005901c1f46e$bff26bc0$2eef4dd5@f2q2x6
Whole thread Raw
List pgsql-cygwin
I've got Apache+PHP4 running under Win98 and PostgreSQL under Cygwin/Win98
(with postmaster listening on TCP/IP).
Every think is OK when I connect to PostgreSQL from my php script
(using pg_connect() function) except for disconnecting from it. At the end
of any
script that establishes connection with PostgreSQL I use pg_close() function
and see on postmaster output that a "user" has exited but PostgreSQL is
still listening on that port like as it was waiting for a next request. So,
after running few php pages I've got too many open connections and finally
postmaster is reporting an error. Could you tell me why after invoking
pg_close() php.exe doesn't really close it, or why PostgreSQL is still
listening on a port that is no longer used?

Thanks in advance and sorry for my English
Tomek







pgsql-cygwin by date:

Previous
From: robert sanford
Date:
Subject: cygwin server w/ data on *nix machine?
Next
From: Liviu Taloi
Date:
Subject: The service did not respond to the start..