Disconnect - required, recommended, or optional?

Поиск
Список
Период
Сортировка
От Rodolfo J. Paiz
Тема Disconnect - required, recommended, or optional?
Дата
Msg-id 1112632838.6863.11.camel@rodolfo.gt.factorrent.com
обсуждение исходный текст
Ответы Re: Disconnect - required, recommended, or optional?  (John DeSoi <desoi@pgedit.com>)
Список pgsql-novice
Hi!

I've just noticed that there is a disconnect function in PEAR's DB
module. For web pages (written in PHP) that connect to PostgreSQL,
should I *always* disconnect when finished with that page's queries? Or
is it pretty much optional, or only used in high-traffic situations
where resource exhaustion is a concern?

My database gets less than 1 query per second, so I am not at all
concerned about resources. I am, however, concerned about acquiring good
programming habits as I go along.

Any advice welcome.

Cheers,

--
Rodolfo J. Paiz <rpaiz@simpaticus.com>


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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: Removing Rows in Foreign Keys
Следующее
От: Richmond Dyes
Дата:
Сообщение: I am verynew to postgresql problem with defining blob field