Re: psql connect_timeout feature

Поиск
Список
Период
Сортировка
От Steve Atkins
Тема Re: psql connect_timeout feature
Дата
Msg-id 3047A60C-50C8-49EA-B48A-276EF3E99290@blighty.com
обсуждение исходный текст
Ответ на psql connect_timeout feature  (Steve Crawford <scrawford@pinpointresearch.com>)
Список pgsql-general
On Sep 5, 2007, at 9:59 AM, Steve Crawford wrote:

> I've dug through the docs and peeked at the source and found no way to
> specify a connect_timeout so:
>
> 1. Did I, in fact, just overlook something?

PGCONNECT_TIMEOUT=5 psql ?

There are a lot of useful environment variables that libpq and
anything using libpq supports. They're not documented much
in the client app docs, but you can find them in the libpq docs.

Cheers,
   Steve


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

Предыдущее
От: Steve Crawford
Дата:
Сообщение: psql connect_timeout feature
Следующее
От: Owen Hartnett
Дата:
Сообщение: Re: problem with transactions in VB.NET using npgsql