Re: php + postgresql

Поиск
Список
Период
Сортировка
От Tino Wildenhain
Тема Re: php + postgresql
Дата
Msg-id 4889C824.7070708@wildenhain.de
обсуждение исходный текст
Ответ на Re: php + postgresql  (Aarni Ruuhimäki <aarni@kymi.com>)
Ответы Re: php + postgresql  (Aarni Ruuhimäki <aarni@kymi.com>)
Список pgsql-general
Aarni Ruuhimäki wrote:
...
> Not sure what causes this with your server but I always use something like
> this, ie first connect then do your stuff and then close the connection:
>
> require("dbconnect.inc"); // holds the $conn which is pg_connect("with
> passes")

I would avoid that in favour of using $HOME/.pgpass

http://www.postgresql.org/docs/8.1/interactive/libpq-pgpass.html

HTH
Tino


Вложения

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

Предыдущее
От: Tino Wildenhain
Дата:
Сообщение: Re: php + postgresql
Следующее
От: Steve Martin
Дата:
Сообщение: Re: Substitute a variable in PL/PGSQL.