[pgpool-committers: 7083] pgpool: Fix relcache query sometimes sent to other than primary.

Tatsuo Ishii ishii at sraoss.co.jp
Sun Sep 6 22:22:13 JST 2020


Fix relcache query sometimes sent to other than primary.

In streaming replication mode, relcache queries are supposed to be
sent to the primary node.  But actually they were not sent the primary
node if primary node was not the master node. Typically this could
happen when the primary is not node 0.

Branch
------
V4_1_STABLE

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

Modified Files
--------------
src/utils/pool_relcache.c | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)



More information about the pgpool-committers mailing list