Fix volatile-safety issue in dblink's materializeQueryResult().
Fix volatile-safety issue in dblink's materializeQueryResult().

Some fields of the sinfo struct are modified within PG_TRY and then
referenced within PG_CATCH, so as with recent patch to async.c, "volatile"
is necessary for strict POSIX compliance; and that propagates to a couple
of subroutines as well as materializeQueryResult() itself.  I think the
risk of actual issues here is probably higher than in async.c, because
storeQueryResult() is likely to get inlined into materializeQueryResult(),
leaving the compiler free to conclude that its stores into sinfo fields are
dead code.

zeroae/postgres-xl,adam8157/gpdb,zeroae/postgres-xl,ovr/postgres-xl,ashwinstar/gpdb,xinzweb/gpdb,pavanvd/postgres-xl,lisakowen/gpdb,Postgres-XL/Postgres-XL,oberstet/postgres-xl,50wu/gpdb,oberstet/postgres-xl,ovr/postgres-xl,ashwinstar/gpdb,xinzweb/gpdb,pavanvd/postgres-xl,xinzweb/gpdb,xinzweb/gpdb,ovr/postgres-xl,50wu/gpdb,ovr/postgres-xl,lisakowen/gpdb,greenplum-db/gpdb,50wu/gpdb,ashwinstar/gpdb,adam8157/gpdb,ashwinstar/gpdb,greenplum-db/gpdb,Postgres-XL/Postgres-XL,yazun/postgres-xl,lisakowen/gpdb,xinzweb/gpdb,pavanvd/postgres-xl,adam8157/gpdb,yazun/postgres-xl,zeroae/postgres-xl,pavanvd/postgres-xl,Postgres-XL/Postgres-XL,adam8157/gpdb,adam8157/gpdb,Postgres-XL/Postgres-XL,ashwinstar/gpdb,xinzweb/gpdb,techdragon/Postgres-XL,xinzweb/gpdb,lisakowen/gpdb,oberstet/postgres-xl,adam8157/gpdb,adam8157/gpdb,50wu/gpdb,50wu/gpdb,yazun/postgres-xl,greenplum-db/gpdb,jmcatamney/gpdb,lisakowen/gpdb,lisakowen/gpdb,Postgres-XL/Postgres-XL,yazun/postgres-xl,ovr/postgres-xl,pavanvd/postgres-xl,jmcatamney/gpdb,ashwinstar/gpdb,ashwinstar/gpdb,adam8157/gpdb,lisakowen/gpdb,techdragon/Postgres-XL,oberstet/postgres-xl,xinzweb/gpdb,jmcatamney/gpdb,greenplum-db/gpdb,jmcatamney/gpdb,greenplum-db/gpdb,jmcatamney/gpdb,zeroae/postgres-xl,greenplum-db/gpdb,50wu/gpdb,techdragon/Postgres-XL,50wu/gpdb,greenplum-db/gpdb,zeroae/postgres-xl,techdragon/Postgres-XL,ashwinstar/gpdb,jmcatamney/gpdb,yazun/postgres-xl,jmcatamney/gpdb,50wu/gpdb,jmcatamney/gpdb,greenplum-db/gpdb,techdragon/Postgres-XL,lisakowen/gpdb,oberstet/postgres-xl