connection = DBI.connect('dbi:Pg:dbname=foo;host=foo.bar.com;port=5432',
           'someuser', 'somepassword)

On Mon, 17 Feb 2003 18:27:16 -0500, Ernie wrote:

> I've looked at the examples and I can connect to a local data base.  What
> is the syntax for connecting to a remote database using dbi and
> postgresql?
> 
> Thanks
> Ernie