[pgpool-committers: 5922] pgpool: Use pg_get_expr() instead of pg_attrdef.adsrc to support for Po

Bo Peng pengbo at sraoss.co.jp
Wed Jul 24 21:31:59 JST 2019


Use pg_get_expr() instead of pg_attrdef.adsrc to support for PostgreSQL 12.

Since PostgreSQL 12 removed pg_attrdef.adsrc, use pg_get_expr() instead of pg_attrdef.adsrc if the backend version is 7.3 or later.

Thanks to Takuma Hoshiai for creating the patch.

Branch
------
V4_0_STABLE

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

Modified Files
--------------
src/include/protocol/protocol_defs.h | 12 ++++++--
src/protocol/pool_process_query.c    | 12 ++++++--
src/rewrite/pool_timestamp.c         | 54 ++++++++++++++++++++++++++++++++----
3 files changed, 66 insertions(+), 12 deletions(-)



More information about the pgpool-committers mailing list