Connection string - Mailing list pgsql-general

From Harpreet Dhaliwal
Subject Connection string
Date
Msg-id d86a77ef0608090802t369bc479v343fa534918d855@mail.gmail.com
Whole thread Raw
Responses Re: Connection string  (Michael Fuhr <mike@fuhr.org>)
List pgsql-general
Hi,
I'm trying to connect to postgres database in  a distributed environment, say from machine X to Machine Y (Machine Y has postgres DB)
How should my connection string look like in a program in Machine X.

EXEC SQL CONNECT TO ------??? (Do i need to specify the IP of DB server?)
I tried a few options but nothing works.
Can someone please write this connection string for me?

Thanks in advance,
~Harpreet

pgsql-general by date:

Previous
From: "Mavinakuli, Prasanna (STSD)"
Date:
Subject: Syslog v/s filename in pg_ctl command
Next
From: "Matthew T. O'Connor"
Date:
Subject: Re: PITR Questions