mirror of
https://github.com/postgres/postgres.git
synced 2025-06-17 17:02:08 +03:00
Drop server support for FE/BE protocol version 1.0.
While this isn't a lot of code, it's been essentially untestable for a very long time, because libpq doesn't support anything older than protocol 2.0, and has not since release 6.3. There's no reason to believe any other client-side code still uses that protocol, either. Discussion: <2661.1475849167@sss.pgh.pa.us>
This commit is contained in:
@ -3768,8 +3768,7 @@ PostgresMain(int argc, char *argv[],
|
||||
/*
|
||||
* Send this backend's cancellation info to the frontend.
|
||||
*/
|
||||
if (whereToSendOutput == DestRemote &&
|
||||
PG_PROTOCOL_MAJOR(FrontendProtocol) >= 2)
|
||||
if (whereToSendOutput == DestRemote)
|
||||
{
|
||||
StringInfoData buf;
|
||||
|
||||
|
Reference in New Issue
Block a user