From: | Sean Kelly <S(dot)Kelly(at)ncl(dot)ac(dot)uk> |
---|---|
To: | martinkuria(at)hotmail(dot)com, pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: How to connect to a remote database |
Date: | 2000-09-07 12:28:09 |
Message-ID: | 20000907112811.EC282556A@random.ncl.ac.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Thu, 7 Sep 2000 07:21:57 -0400 (EDT), pgsql-bugs(at)postgresql(dot)org
said:
> Martin Kuria (martinkuria(at)hotmail(dot)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(dot)Kelly(at)ncl(dot)ac(dot)uk>
"The best way to predict the future is to invent it" - Alan Kay
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Lockhart | 2000-09-07 14:22:41 | Re: bug in date_part() function in 6.5.2, 7.0.2 |
Previous Message | Vasileiadis Spyros | 2000-09-07 11:55:26 | Re: How to connect to a remote database |