Fix wrong usage of volatile declaration.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Sat, 30 Mar 2019 01:33:58 +0000 (10:33 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Sat, 30 Mar 2019 02:24:59 +0000 (11:24 +0900)
commit5441f498efc10b662af582540301320ab29a6205
tree57cf9a9da1f58aed0fc7369b752b8a4dcd1fa2e2
parent721faf548ca29b30c87fad131dfcc3aca35bd148
Fix wrong usage of volatile declaration.

From a PostgreSQL commit message:
     Variables used after a longjmp() need to be declared volatile.  In
     case of a pointer, it's the pointer itself that needs to be declared
     volatile, not the pointed-to value.

Same thing can be said to:
     volatile StartupPacket *sp;

This should have been:
     StartupPacket *volatile sp;

This also suppresses a compiler warning.
src/protocol/child.c