Using imbedded SQL, how do I connect tp Postgresql on a remote host? - Mailing list pgsql-hackers

From J
Subject Using imbedded SQL, how do I connect tp Postgresql on a remote host?
Date
Msg-id 20010607.150451.846811127.3313@possum.os2.ami.com.au
Whole thread Raw
List pgsql-hackers
I tried another group without success, so....

The documents do not explain clearly enough, and here are no examples
showing how to connect (via TCP/IP) to pg on another host.

I need to supply user, password and database/

Here are examples that do not work://  exec sql connect "tcp:postgresql://192.168.1.1/cucumbers  user 
cucumbereater/blackjack"; exec sql connect :sharetrader;

Does someone have code that works?

If you wish to email me, remove the cucumber component above;-)


pgsql-hackers by date:

Previous
From: Jan Wieck
Date:
Subject: Re: Baby girl
Next
From: "Joe Conway"
Date:
Subject: Re: Re: [PATCHES] Fw: Isn't pg_statistic a security hole - Solution Proposal