Running on different host

From: Andrey Novikov <novikov(at)citmgu(dot)ru>
To: pgsql-admin(at)postgresql(dot)org
Subject: Running on different host
Date: 1998-06-02 17:18:34
Message-ID: 17846.980602@citmgu.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello.

How can I connect from Web to PostgreSQL running on
another host? What do I need to set in PostgreSQL
configuration?

I'm using p5-Pg to access in on localhost. Thet's the
initialization part (Perl):

use Pg;
$conn = Pg::connectdb("dbname = somedb user = someuser port=5432");

How do I add host in second line?

+---------------------------------------------------
: \ \ .":
^.-.^ All-Russia Webmasters Club webmaster \ ."-.:
'^\+/^` http://www.webclub.ru ."-...:
'/`"'\` ." :

Browse pgsql-admin by date

  From Date Subject
Next Message Mateus Cordeiro Inssa 1998-06-02 20:58:35 Re: [ADMIN] postgresql questions
Previous Message Tan Poh Soon 1998-06-02 12:48:41 problem with initdb