[pgpool-hackers: 4332] Refactoring pool_where_to_send

Tatsuo Ishii ishii at sraoss.co.jp
Mon May 8 10:05:36 JST 2023


pool_where_to_send() is a module in charge of judging where to a query
in terms of load balancing.  It had been already big and I felt
difficulty to maintain it. Therefore I extracted two relatively large
code path, namely for streaming replication mode and native
replication mode (plus snapshot isolation mode) into
where_to_send_main_replica() and where_to_send_native_replication()
respectively.

Best reagards,
--
Tatsuo Ishii
SRA OSS LLC
English: http://www.sraoss.co.jp/index_en/
Japanese:http://www.sraoss.co.jp


More information about the pgpool-hackers mailing list