[pgpool-committers: 8718] pgpool: Fix to not cache SELECT having functions with return types are
Tatsuo Ishii
ishii at sraoss.co.jp
Wed Jul 6 23:32:03 JST 2022
Fix to not cache SELECT having functions with return types are timestamptz or timetz.
Functions with return type is timestamptz or timetz is affected by time zone setting.
Consider following scenario:
1) SELECT having such functions gets called and cache created.
2) time zone is changed.
3) same SELECT is called and the cache is used. The cache value is
correct any more because of the time zone change.
Discussion: https://www.pgpool.net/pipermail/pgpool-general/2022-July/008367.html
Branch
------
V4_3_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=724cf6e773eb81a3ccfda4dd30d6ea73a6f3ea74
Modified Files
--------------
src/test/regression/tests/006.memqcache/test.sh | 3 +
src/utils/pool_select_walker.c | 113 ++++++++++++++++++++++--
2 files changed, 108 insertions(+), 8 deletions(-)
More information about the pgpool-committers
mailing list