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