Re: psql connection timeout

From: John DeSoi <desoi(at)pgedit(dot)com>
To: Pgsql General <pgsql-general(at)postgresql(dot)org>
Subject: Re: psql connection timeout
Date: 2004-12-04 14:46:12
Message-ID: 3E3D9199-4603-11D9-8056-000A95B03262@pgedit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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?

Best,

John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Phil Endecott 2004-12-04 15:33:46 Temporary tables and disk activity
Previous Message Rolf stvik 2004-12-04 13:43:13 Re: 3rd RFD: comp.databases.postgresql (was: