Re: [HACKERS] "expected authentication request from server, but

2005-09-26 Thread Michal Jeczalik
On Mon, 26 Sep 2005, Michael Paesold wrote: to be something else than the libpq expects. But how to fix it?! Has the protocol change or what? Umm, I think the protocol version is up to 3 or 4 now. I think libpq supports all the way back to 7.0, I don't know if anyone tests earlier than that.

Re: [HACKERS] "expected authentication request from server, but

2005-09-26 Thread Michal Jeczalik
On Mon, 26 Sep 2005, Tom Lane wrote: =?iso-8859-2?Q?Micha=B3_J=EAczalik?= <[EMAIL PROTECTED]> writes: I have a very old postgres 6.4 installation. I'm trying to connect to it from a fresh, up-to-date Debian-host, but I'm constantly getting (from DBI and PHP as well) this error message: # ./u

Re: [HACKERS] "expected authentication request from server, but

2005-09-26 Thread Alvaro Herrera
On Mon, Sep 26, 2005 at 10:28:48AM +0200, Michal Jeczalik wrote: > Heh, that's what I'm currently doing, but it's not so easy to compile 6.4 > on a new system. configure states that the compiler cannot create > executables, but I ripped this check out of it. Anyway, something goes > wrong while

Re: [HACKERS] "expected authentication request from server, but received..."

2005-09-26 Thread Tom Lane
=?iso-8859-2?Q?Micha=B3_J=EAczalik?= <[EMAIL PROTECTED]> writes: > I have a very old postgres 6.4 installation. I'm trying to connect to it > from a fresh, up-to-date Debian-host, but I'm constantly getting (from DBI > and PHP as well) this error message: > # ./update_dns.pl > DBI connect('dbnam

Re: [HACKERS] "expected authentication request from server, but

2005-09-26 Thread Michael Paesold
Michal Jeczalik wrote: On Mon, 26 Sep 2005, Martijn van Oosterhout wrote: On Mon, Sep 26, 2005 at 09:59:53AM +0200, Micha? J?czalik wrote: Connection with psql works OK. Connecting from different (older) hosts with DBI/PHP works perfect as well. Something must have changed in recent version

Re: [HACKERS] "expected authentication request from server, but

2005-09-26 Thread Michal Jeczalik
On Mon, 26 Sep 2005, Martijn van Oosterhout wrote: On Mon, Sep 26, 2005 at 09:59:53AM +0200, Micha? J?czalik wrote: Connection with psql works OK. Connecting from different (older) hosts with DBI/PHP works perfect as well. Something must have changed in recent versions of libpq and now it doesn

Re: [HACKERS] "expected authentication request from server, but received..."

2005-09-26 Thread Martijn van Oosterhout
On Mon, Sep 26, 2005 at 09:59:53AM +0200, Micha? J?czalik wrote: > Connection with psql works OK. Connecting from different (older) hosts > with DBI/PHP works perfect as well. Something must have changed in recent > versions of libpq and now it doesn't work. I looked into source code and > found