Re: psql connection timeout
| От | Bruce Momjian |
|---|---|
| Тема | Re: psql connection timeout |
| Дата | |
| Msg-id | 200412041535.iB4FZSo06303@candle.pha.pa.us обсуждение |
| Ответ на | Re: psql connection timeout (John DeSoi <desoi@pgedit.com>) |
| Список | pgsql-general |
John DeSoi wrote: > Hi Michael, > > On Dec 2, 2004, at 11:53 PM, Michael Fuhr wrote: > > > Try setting the PGCONNECT_TIMEOUT environment variable: > > > > env PGCONNECT_TIMEOUT=5 psql -h bogushost > > > > > This works great -- thanks very much. > > I did not see this anywhere in the documentation. Did I miss it or is > the source code the only reference point? I see it mentioned in the libpq section of the manual. Those variables actually affect all applications that use libpq, including psql. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
В списке pgsql-general по дате отправления: