[pgpool-committers: 5924] 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_6_STABLE

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

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