Use volatile pointer for Req_info variable.
authorTatsuo Ishii <ishii@postgresql.org>
Tue, 16 May 2017 10:59:56 +0000 (19:59 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Tue, 16 May 2017 10:59:56 +0000 (19:59 +0900)
commita4de4bfc1421d787b53789eb62eb7e9cb26e91c1
tree38107c0522017180d22128e8d1fa572243235b4c
parent81228a019cc8d8eef865ad475353602203ab899e
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.
src/include/pool.h
src/main/pgpool_main.c
src/test/regression/tests/010.rewrite_timestamp/timestamp/main.c