Re: psql connect_timeout feature - Mailing list pgsql-general

From Steve Atkins
Subject Re: psql connect_timeout feature
Date
Msg-id 3047A60C-50C8-49EA-B48A-276EF3E99290@blighty.com
Whole thread Raw
In response to psql connect_timeout feature  (Steve Crawford <scrawford@pinpointresearch.com>)
List 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 by date:

Previous
From: Steve Crawford
Date:
Subject: psql connect_timeout feature
Next
From: Owen Hartnett
Date:
Subject: Re: problem with transactions in VB.NET using npgsql