[pgpool-committers: 9525] pgpool: Fix covery warning.
    Tatsuo Ishii 
    ishii at sraoss.co.jp
       
    Wed Aug  9 12:13:02 JST 2023
    
    
  
Fix covery warning.
Fix query cache module assigned time_t value to int32 variable. Change
the variable type to int64. Per Coverity.  Also use difftime() to
calculate time_t difference. This is a recommended practice.
https://www.jpcert.or.jp/sc-rules/c-msc05-c.html
Branch
------
V4_1_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=93f33ee48b304e59a41dfc0daf3016f0dfa11807
Modified Files
--------------
src/include/query_cache/pool_memqcache.h | 2 +-
src/query_cache/pool_memqcache.c         | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
    
    
More information about the pgpool-committers
mailing list