Allow to build pgpool with PostgreSQL 9.0 or before.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Mon, 3 May 2021 11:04:38 +0000 (20:04 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Mon, 3 May 2021 23:30:23 +0000 (08:30 +0900)
commit6357f49f867765d62a8a4398733194c07561281a
tree8eb3ea3e3e8762d97bbafe2d87d496bddc2e9904
parent218e5c08788ce5c8296504657c00300df32d6abd
Allow to build pgpool with PostgreSQL 9.0 or before.

pool_process_reporting.c referrers to PQpingParams() which was
introduced in PostgreSQL 9.1. Check existence of the function in
configure and if it does not exist, set "pg_status" column of "show
pool_nodes" and "pcp_node_info" to be set "unknown".
configure.ac
doc.ja/src/sgml/ref/pcp_node_info.sgml
doc/src/sgml/ref/pcp_node_info.sgml
src/utils/pool_process_reporting.c