[pgpool-committers: 4033] pgpool: Use volatile pointer for Req_info variable.

Tatsuo Ishii ishii at postgresql.org
Tue May 16 20:47:59 JST 2017


Use volatile pointer for Req_info variable.

Since Req_info points to shared memory area, using volatile pointer
will allow to fetch the fresh value.

Branch
------
V3_6_STABLE

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

Modified Files
--------------
src/include/pool.h                                               | 2 +-
src/main/pgpool_main.c                                           | 2 +-
src/test/regression/tests/010.rewrite_timestamp/timestamp/main.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)



More information about the pgpool-committers mailing list