Connection string

From: "Harpreet Dhaliwal" <harpreet(dot)dhaliwal01(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Connection string
Date: 2006-08-09 15:02:00
Message-ID: d86a77ef0608090802t369bc479v343fa534918d855@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Reece Hart 2006-08-09 16:51:38 Re: psql/readline clears screen
Previous Message Tom Lane 2006-08-09 14:26:37 Re: read only transaction, temporary tables