[pgpool-committers: 3388] pgpool: Unbreak version 2 protocol case.

Tatsuo Ishii ishii at postgresql.org
Thu Aug 11 19:00:31 JST 2016


Unbreak version 2 protocol case.

Commit:
https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=3cbce4eaf870e89fdd8f8a2ad8fab8d3d8aadf65

broke version 2 protocol case. In the session initiation phase,
"MAJOR" macro is used *before* session context is created.  In this
MAJOR macro returns PROTO_MAJOR_V3, which of course breaks v2 protocol
negotiation. Fix is, not to use MAJOR macro here.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=0b99687ed8eef87b2b732e0ec333354ca5a2c46a

Modified Files
--------------
src/auth/pool_auth.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



More information about the pgpool-committers mailing list