Re: ECPG could not connect to the database.
От
Peter Eisentraut
Тема
Re: ECPG could not connect to the database.
Дата
Msg-id
Pine.LNX.4.30.0101081818300.760-100000@peter.localdomain
Ответ на
Re: ECPG could not connect to the database. (Tom Lane)
Список
Дерево обсуждения
ECPG could not connect to the database. Joachim Jaeckel <Joachim.Jaeckel@coffeebreak.de>
Re: ECPG could not connect to the database. Michael Meskes <meskes@postgresql.org>
Re: ECPG could not connect to the database. Artur Pietruk <arturp@plukwa.pdi.net>
Re: ECPG could not connect to the database. Michael Meskes <meskes@postgresql.org>
Re: ECPG could not connect to the database. Tom Lane <tgl@sss.pgh.pa.us>
Re: ECPG could not connect to the database. Michael Meskes <meskes@postgresql.org>
Re: ECPG could not connect to the database. Tom Lane <tgl@sss.pgh.pa.us>
Re: ECPG could not connect to the database. Peter Eisentraut <peter_e@gmx.net>
Re: ECPG could not connect to the database. Tom Lane <tgl@sss.pgh.pa.us>
Re: ECPG could not connect to the database. Bruce Momjian <pgman@candle.pha.pa.us>
Re: ECPG could not connect to the database. Michael Meskes <meskes@postgresql.org>
Re: ECPG could not connect to the database. Tom Lane <tgl@sss.pgh.pa.us>
Re: ECPG could not connect to the database. Michael Meskes <meskes@postgresql.org>
Tom Lane writes: > > Not exactly. It is possible to use PGHOST but you also can add the hostname > > to the dbname. > > Have you tried it lately? I suspect that you are depending on code that > 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. 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(). -- Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/
В списке pgsql-general по дате отправления