Re: ECPG connect by URL doesn't work

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: ECPG connect by URL doesn't work
Дата
Msg-id 20060131133346.GA21135@1
обсуждение исходный текст
Ответ на ECPG connect by URL doesn't work  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-bugs
On Tue, Jan 31, 2006 at 12:31:24PM +0100, Peter Eisentraut wrote:
> According to this documentation
>
> http://www.postgresql.org/docs/8.1/static/ecpg-connect.html
>
> it should work to connect in ECPG like this:
>
> EXEC SQL CONNECT TO tcp:postgresql://bell.credativ.de:5432/pei AS myconn USER pei IDENTIFIED BY 'geheim';
>
> (Or perhaps with single quotes, but that doesn't make a difference.)

The example with the single quote is incorrect. I just changed the docs
accordingly.

Without the single quotes though, the statement should work.

Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: ECPG connect by URL doesn't work
Следующее
От: Philipp Reisner
Дата:
Сообщение: Re: Endless loop in ExecNestLoop