Re: psql connect_timeout feature

From: Steve Atkins <steve(at)blighty(dot)com>
To: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: psql connect_timeout feature
Date: 2007-09-05 17:10:30
Message-ID: 3047A60C-50C8-49EA-B48A-276EF3E99290@blighty.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Owen Hartnett 2007-09-05 17:14:32 Re: problem with transactions in VB.NET using npgsql
Previous Message Steve Crawford 2007-09-05 16:59:45 psql connect_timeout feature