[pgpool-committers: 4303] pgpool: Fix finding primary node is not working.

Tatsuo Ishii ishii at postgresql.org
Sun Oct 8 10:39:20 JST 2017


Fix finding primary node is not working.

It was reported that finding primary node was not executed in local
mailing list [pgpool-general-jp: 1462]. The bug was introduced in
commit e4ce880bd36b8f249bf693c086a1313148f3449a between 3.4.11 and
3.4.12.  This requires the Req_info->primary_node_id to negatives
value but I forgot to miss the part. Fix the problem by initializing
Req_info->primary_node_id.

Note that the bug was not in 3.5 or above because commit
bda946e718fe6f3605eb7e82ada8754bd84a279c has made it. Unfortunately I
missed the commit was not in 3.4 stable.

Branch
------
V3_4_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=f484c6138304172f7d4ef4d02f1b15fad5b3cbf8

Modified Files
--------------
src/main/pgpool_main.c | 1 +
1 file changed, 1 insertion(+)



More information about the pgpool-committers mailing list