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
  [EMAIL PROTECTED]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match

Reply via email to