Need a help

Поиск
Список
Период
Сортировка
От god@heaven.club.ne.jp
Тема Need a help
Дата
Msg-id 20010606045429.14171.qmail@regist.clubbbq.com
обсуждение исходный текст
Список pgsql-admin
By Php scripts I am connecting to database SERVER:

<?php
$port=9939;
$host=\"210.111.1.10\";
pg=pg_connect($port,$host);
?>

But problem is if somebody suddenly switch off
the server(210.111.1.10), the script hangs on.
How would my script check that host is open before connecting?


В списке pgsql-admin по дате отправления:

Предыдущее
От: "Andy Jenks"
Дата:
Сообщение: postmaster successfully started?
Следующее
От: "Milorad Poluga"
Дата:
Сообщение: What CASE tools and clients for Postgres?