[pgpool-committers: 5920] 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
------
V3_4_STABLE

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

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