PHP & PostrgreSQL

Поиск
Список
Период
Сортировка
От Tomek
Тема PHP & PostrgreSQL
Дата
Msg-id 005901c1f46e$bff26bc0$2eef4dd5@f2q2x6
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: robert sanford
Дата:
Сообщение: cygwin server w/ data on *nix machine?
Следующее
От: Liviu Taloi
Дата:
Сообщение: The service did not respond to the start..