Re: ECPG could not connect to the database.

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: ECPG could not connect to the database.
Дата
Msg-id 20010109095434.A15416@feivel.credativ.de
обсуждение исходный текст
Ответ на Re: ECPG could not connect to the database.  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: ECPG could not connect to the database.
Список pgsql-general
On Mon, Jan 08, 2001 at 06:20:42PM +0100, Peter Eisentraut wrote:
> > is not in libpq's current sources anymore.  I fully agree with Peter E's
> > reasons for removing it, too.  We do not need to overload the definition
> > of libpq's dbname parameter.

Why? Sorry, it seems I missed his mail.

> Ouch, it *is* documented in ecpg(1).  I guess if ecpg wants to provide
> this syntax (which it probably should, since the "sql connect to" syntax
> doesn't have any other provisions for host name, port, etc.) then it could
> take the code from libpq (it's still in there I think) and do the parsing
> before calling PQsetdbLogin().

This is a possibility of course. But why should this syntax be taken away
from other apps using libpq?

Michael
--
Michael Meskes
Michael@Fam-Meskes.De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: WAL questions
Следующее
От: "Peter Cheng"
Дата:
Сообщение: xml middleware