[pgpool-committers: 4065] pgpool: Deal with PostgreSQL 10 in streaming replication delay checking

Tatsuo Ishii ishii at postgresql.org
Mon May 29 17:39:59 JST 2017


Deal with PostgreSQL 10 in streaming replication delay checking.

From PostgreSQL 10 or later, some built in function names which are
used in streaming replication delay checking are changed. To deal with
this, get server_version_num from backend to change the calling
functions and cache them. Using 'S' message to extract the server
version string while connecting backend could be an idea, but
unfortunately connecting function used in streaming replication delay
checking does not handle 'S' parameter. Also converting from the
server version string to the server_version_num can be backend
dependent, so to extract the server_version_num would be safer.

Branch
------
V3_4_STABLE

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

Modified Files
--------------
src/streaming_replication/pool_worker_child.c | 119 ++++++++++++++++++--------
1 file changed, 85 insertions(+), 34 deletions(-)



More information about the pgpool-committers mailing list