Running on different host - Mailing list pgsql-admin

From Andrey Novikov
Subject Running on different host
Date
Msg-id 17846.980602@citmgu.ru
Whole thread Raw
List 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   ."-...:
'/`"'\`                                       ."      :


pgsql-admin by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: [ADMIN] postgresql questions
Next
From: Mateus Cordeiro Inssa
Date:
Subject: Re: [ADMIN] postgresql questions