Using imbedded SQL, how do I connect tp Postgresql on a remote host?

Поиск
Список
Период
Сортировка
От J
Тема Using imbedded SQL, how do I connect tp Postgresql on a remote host?
Дата
Msg-id 20010603.185612.1344247686.11619@possum.os2.ami.com.au
обсуждение исходный текст
Список pgsql-general
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-general по дате отправления:

Предыдущее
От: Michael Graff
Дата:
Сообщение: 7.1.2 vs. INT8 indexes
Следующее
От: Dennis Muhlestein
Дата:
Сообщение: Foreign Keys and Inheritance