Re: error message "psql: expected authentication request from server, but received " when using psql to connect remote database - Mailing list pgsql-bugs

From TIAN Justin
Subject Re: error message "psql: expected authentication request from server, but received " when using psql to connect remote database
Date
Msg-id 02AD22EBEBC00940BBB63FEB6AB89BE3207CEB@CNSHGSMBS04.ad4.ad.alcatel.com
Whole thread Raw
In response to Re: error message "psql: expected authentication request from server, but received " when using psql to connect remote database  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Tom Lane,

Sorry, I still can not understand, what does the max/min version number
in startup message, why it is different between different psql version?

Thanks,
Justin

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]=20
Sent: Monday, May 26, 2008 6:54 AM
To: TIAN Justin
Cc: Heikki Linnakangas; pgsql-bugs@postgresql.org
Subject: Re: [BUGS] error message "psql: expected authentication request
from server, but received " when using psql to connect remote database=20

"TIAN Justin" <yongjuntian@alcatel-lucent.com> writes:
> Actually, we don't directly use postgre server,we open TCP connection
to
> support postgre wire protocol, so psql client can connect to our
> application,
> I found the problem is in the StartupMessage, when psql client version
> is 8.1.4, the major and minor version in StartupMessage is 1234 and
> 5679, not 3 and 0, that is the problem, I want to know whether it is
the
> bug of 8.1.4, or I can do some configuration?

Sounds like you need to fix your "support of the postgres wire
protocol" --- in particular you'd better read up on query cancel,
and it would appear you are unable to send a proper error response
either.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Thomas H."
Date:
Subject: Re: BUG #4186: set lc_messages does not work
Next
From: "Yehudah"
Date:
Subject: BUG #4195: Server version is not supported