Re: How to connect to a remote database

Sean Kelly <s.kelly@ncl.ac.uk>

From: Sean Kelly <S.Kelly@ncl.ac.uk>
To: martinkuria@hotmail.com, pgsql-bugs@postgresql.org
Date: 2000-09-07T12:28:09Z
Lists: pgsql-bugs
On Thu, 7 Sep 2000 07:21:57 -0400 (EDT), pgsql-bugs@postgresql.org
said:

> Martin Kuria (martinkuria@hotmail.com) reports a bug with a severity of 2
>  The lower the number the more severe it is.
>  
>  Short Description
>  How to connect to a remote database
>  
>  Long Description
>  This may be a dumb question, but how do I connect to a remote database
>  using postgresql, or rather psql?

	This isn't really a bug, is it? :)

	"man psql" shows your options - you need "-h hostname_here". 
See "man psql" for more.

	You'll probably have to edit /path/to/pgsql/lib/pg_hba.conf
on the remote machine to get permission.

	Thanks,

-- 
Sean Kelly <S.Kelly@ncl.ac.uk>
"The best way to predict the future is to invent it" - Alan Kay