Call SetLastError(0) before calling the file mapping functions to make sure that the error code is reset, as a precaution in case the API doesn't properly reset it on success. This could be necessary, since we check the error value even if the function doesn't fail for specific success cases.
Call SetLastError(0) before calling the file mapping functions
to make sure that the error code is reset, as a precaution in
case the API doesn't properly reset it on success. This could
be necessary, since we check the error value even if the function
doesn't fail for specific success cases.

jmcatamney/gpdb,kmjungersen/PostgresXL,postmind-net/postgres-xl,greenplum-db/gpdb,techdragon/Postgres-XL,edespino/gpdb,edespino/gpdb,arcivanov/postgres-xl,greenplum-db/gpdb,snaga/postgres-xl,Chibin/gpdb,jmcatamney/gpdb,yuanzhao/gpdb,jmcatamney/gpdb,ashwinstar/gpdb,yazun/postgres-xl,50wu/gpdb,pavanvd/postgres-xl,techdragon/Postgres-XL,lisakowen/gpdb,xinzweb/gpdb,ovr/postgres-xl,snaga/postgres-xl,ovr/postgres-xl,ashwinstar/gpdb,pavanvd/postgres-xl,Chibin/gpdb,edespino/gpdb,yuanzhao/gpdb,Chibin/gpdb,Chibin/gpdb,techdragon/Postgres-XL,greenplum-db/gpdb,jmcatamney/gpdb,edespino/gpdb,kmjungersen/PostgresXL,adam8157/gpdb,snaga/postgres-xl,xinzweb/gpdb,50wu/gpdb,zeroae/postgres-xl,ashwinstar/gpdb,xinzweb/gpdb,oberstet/postgres-xl,edespino/gpdb,yuanzhao/gpdb,ashwinstar/gpdb,snaga/postgres-xl,postmind-net/postgres-xl,arcivanov/postgres-xl,adam8157/gpdb,arcivanov/postgres-xl,yazun/postgres-xl,ashwinstar/gpdb,ashwinstar/gpdb,snaga/postgres-xl,yuanzhao/gpdb,50wu/gpdb,zeroae/postgres-xl,tpostgres-projects/tPostgres,greenplum-db/gpdb,yuanzhao/gpdb,pavanvd/postgres-xl,xinzweb/gpdb,postmind-net/postgres-xl,adam8157/gpdb,tpostgres-projects/tPostgres,techdragon/Postgres-XL,oberstet/postgres-xl,yuanzhao/gpdb,Chibin/gpdb,postmind-net/postgres-xl,edespino/gpdb,ashwinstar/gpdb,ashwinstar/gpdb,adam8157/gpdb,yazun/postgres-xl,50wu/gpdb,zeroae/postgres-xl,tpostgres-projects/tPostgres,yazun/postgres-xl,Postgres-XL/Postgres-XL,xinzweb/gpdb,zeroae/postgres-xl,50wu/gpdb,jmcatamney/gpdb,adam8157/gpdb,Chibin/gpdb,jmcatamney/gpdb,Chibin/gpdb,yuanzhao/gpdb,lisakowen/gpdb,edespino/gpdb,Chibin/gpdb,50wu/gpdb,adam8157/gpdb,yazun/postgres-xl,adam8157/gpdb,arcivanov/postgres-xl,edespino/gpdb,yuanzhao/gpdb,kmjungersen/PostgresXL,arcivanov/postgres-xl,edespino/gpdb,tpostgres-projects/tPostgres,50wu/gpdb,jmcatamney/gpdb,lisakowen/gpdb,greenplum-db/gpdb,greenplum-db/gpdb,ovr/postgres-xl,edespino/gpdb,50wu/gpdb,ovr/postgres-xl,Postgres-XL/Postgres-XL,xinzweb/gpdb,lisakowen/gpdb,pavanvd/postgres-xl,arcivanov/postgres-xl,zeroae/postgres-xl,greenplum-db/gpdb,xinzweb/gpdb,postmind-net/postgres-xl,kmjungersen/PostgresXL,oberstet/postgres-xl,techdragon/Postgres-XL,greenplum-db/gpdb,yuanzhao/gpdb,lisakowen/gpdb,Postgres-XL/Postgres-XL,pavanvd/postgres-xl,Postgres-XL/Postgres-XL,xinzweb/gpdb,kmjungersen/PostgresXL,jmcatamney/gpdb,ovr/postgres-xl,lisakowen/gpdb,Chibin/gpdb,yuanzhao/gpdb,tpostgres-projects/tPostgres,lisakowen/gpdb,Chibin/gpdb,adam8157/gpdb,lisakowen/gpdb,oberstet/postgres-xl,Postgres-XL/Postgres-XL,oberstet/postgres-xl