Add test for thread-safe errno to thread test program.
Add test for thread-safe errno to thread test program.

zeroae/postgres-xl,zaksoup/gpdb,Postgres-XL/Postgres-XL,tangp3/gpdb,oberstet/postgres-xl,0x0FFF/gpdb,Quikling/gpdb,Chibin/gpdb,techdragon/Postgres-XL,randomtask1155/gpdb,50wu/gpdb,zaksoup/gpdb,lisakowen/gpdb,zaksoup/gpdb,edespino/gpdb,lisakowen/gpdb,postmind-net/postgres-xl,CraigHarris/gpdb,edespino/gpdb,greenplum-db/gpdb,royc1/gpdb,rubikloud/gpdb,lpetrov-pivotal/gpdb,0x0FFF/gpdb,tangp3/gpdb,ashwinstar/gpdb,greenplum-db/gpdb,arcivanov/postgres-xl,cjcjameson/gpdb,ahachete/gpdb,snaga/postgres-xl,50wu/gpdb,Quikling/gpdb,edespino/gpdb,lpetrov-pivotal/gpdb,yazun/postgres-xl,arcivanov/postgres-xl,rvs/gpdb,adam8157/gpdb,janebeckman/gpdb,randomtask1155/gpdb,atris/gpdb,lpetrov-pivotal/gpdb,kaknikhil/gpdb,lintzc/gpdb,royc1/gpdb,ahachete/gpdb,xinzweb/gpdb,jmcatamney/gpdb,cjcjameson/gpdb,kaknikhil/gpdb,rvs/gpdb,xuegang/gpdb,50wu/gpdb,yuanzhao/gpdb,greenplum-db/gpdb,techdragon/Postgres-XL,greenplum-db/gpdb,xuegang/gpdb,edespino/gpdb,ashwinstar/gpdb,oberstet/postgres-xl,edespino/gpdb,ovr/postgres-xl,lintzc/gpdb,CraigHarris/gpdb,royc1/gpdb,arcivanov/postgres-xl,ashwinstar/gpdb,foyzur/gpdb,Chibin/gpdb,adam8157/gpdb,jmcatamney/gpdb,postmind-net/postgres-xl,rvs/gpdb,0x0FFF/gpdb,pavanvd/postgres-xl,Postgres-XL/Postgres-XL,Quikling/gpdb,snaga/postgres-xl,zeroae/postgres-xl,randomtask1155/gpdb,tangp3/gpdb,lisakowen/gpdb,chrishajas/gpdb,royc1/gpdb,zeroae/postgres-xl,Chibin/gpdb,cjcjameson/gpdb,snaga/postgres-xl,0x0FFF/gpdb,kaknikhil/gpdb,arcivanov/postgres-xl,yuanzhao/gpdb,ahachete/gpdb,kmjungersen/PostgresXL,janebeckman/gpdb,randomtask1155/gpdb,cjcjameson/gpdb,50wu/gpdb,rubikloud/gpdb,edespino/gpdb,janebeckman/gpdb,50wu/gpdb,chrishajas/gpdb,Quikling/gpdb,foyzur/gpdb,Postgres-XL/Postgres-XL,tpostgres-projects/tPostgres,50wu/gpdb,jmcatamney/gpdb,rvs/gpdb,snaga/postgres-xl,Chibin/gpdb,arcivanov/postgres-xl,pavanvd/postgres-xl,Postgres-XL/Postgres-XL,zaksoup/gpdb,xuegang/gpdb,kaknikhil/gpdb,lpetrov-pivotal/gpdb,tpostgres-projects/tPostgres,Chibin/gpdb,jmcatamney/gpdb,lintzc/gpdb,janebeckman/gpdb,randomtask1155/gpdb,atris/gpdb,ashwinstar/gpdb,yazun/postgres-xl,tpostgres-projects/tPostgres,oberstet/postgres-xl,foyzur/gpdb,foyzur/gpdb,ovr/postgres-xl,edespino/gpdb,chrishajas/gpdb,rubikloud/gpdb,kmjungersen/PostgresXL,CraigHarris/gpdb,edespino/gpdb,50wu/gpdb,techdragon/Postgres-XL,Chibin/gpdb,kaknikhil/gpdb,techdragon/Postgres-XL,xinzweb/gpdb,yuanzhao/gpdb,yuanzhao/gpdb,adam8157/gpdb,pavanvd/postgres-xl,lintzc/gpdb,zeroae/postgres-xl,lintzc/gpdb,zeroae/postgres-xl,xinzweb/gpdb,kmjungersen/PostgresXL,rvs/gpdb,zaksoup/gpdb,jmcatamney/gpdb,rvs/gpdb,tpostgres-projects/tPostgres,royc1/gpdb,CraigHarris/gpdb,tangp3/gpdb,Quikling/gpdb,CraigHarris/gpdb,xuegang/gpdb,lintzc/gpdb,yuanzhao/gpdb,randomtask1155/gpdb,CraigHarris/gpdb,CraigHarris/gpdb,royc1/gpdb,pavanvd/postgres-xl,ashwinstar/gpdb,cjcjameson/gpdb,lpetrov-pivotal/gpdb,kmjungersen/PostgresXL,xinzweb/gpdb,xuegang/gpdb,atris/gpdb,0x0FFF/gpdb,Postgres-XL/Postgres-XL,lpetrov-pivotal/gpdb,ashwinstar/gpdb,janebeckman/gpdb,Quikling/gpdb,ashwinstar/gpdb,rubikloud/gpdb,greenplum-db/gpdb,zaksoup/gpdb,adam8157/gpdb,greenplum-db/gpdb,ahachete/gpdb,kaknikhil/gpdb,rvs/gpdb,CraigHarris/gpdb,postmind-net/postgres-xl,atris/gpdb,lisakowen/gpdb,randomtask1155/gpdb,yazun/postgres-xl,Chibin/gpdb,0x0FFF/gpdb,lpetrov-pivotal/gpdb,cjcjameson/gpdb,postmind-net/postgres-xl,chrishajas/gpdb,royc1/gpdb,zaksoup/gpdb,kaknikhil/gpdb,ovr/postgres-xl,atris/gpdb,yuanzhao/gpdb,kaknikhil/gpdb,yuanzhao/gpdb,rvs/gpdb,Quikling/gpdb,edespino/gpdb,kaknikhil/gpdb,greenplum-db/gpdb,ovr/postgres-xl,kmjungersen/PostgresXL,lintzc/gpdb,xinzweb/gpdb,arcivanov/postgres-xl,jmcatamney/gpdb,Quikling/gpdb,randomtask1155/gpdb,Chibin/gpdb,tangp3/gpdb,xinzweb/gpdb,lisakowen/gpdb,xuegang/gpdb,CraigHarris/gpdb,foyzur/gpdb,ahachete/gpdb,ovr/postgres-xl,ahachete/gpdb,chrishajas/gpdb,rvs/gpdb,chrishajas/gpdb,lintzc/gpdb,lisakowen/gpdb,yazun/postgres-xl,lpetrov-pivotal/gpdb,janebeckman/gpdb,atris/gpdb,yuanzhao/gpdb,foyzur/gpdb,janebeckman/gpdb,lisakowen/gpdb,xinzweb/gpdb,ashwinstar/gpdb,rubikloud/gpdb,cjcjameson/gpdb,rubikloud/gpdb,chrishajas/gpdb,adam8157/gpdb,yuanzhao/gpdb,0x0FFF/gpdb,tangp3/gpdb,cjcjameson/gpdb,xuegang/gpdb,pavanvd/postgres-xl,Chibin/gpdb,lintzc/gpdb,jmcatamney/gpdb,atris/gpdb,rvs/gpdb,cjcjameson/gpdb,tangp3/gpdb,janebeckman/gpdb,adam8157/gpdb,rubikloud/gpdb,oberstet/postgres-xl,adam8157/gpdb,xinzweb/gpdb,jmcatamney/gpdb,lisakowen/gpdb,techdragon/Postgres-XL,tpostgres-projects/tPostgres,Quikling/gpdb,rubikloud/gpdb,yuanzhao/gpdb,chrishajas/gpdb,50wu/gpdb,oberstet/postgres-xl,yazun/postgres-xl,0x0FFF/gpdb,zaksoup/gpdb,foyzur/gpdb,xuegang/gpdb,Quikling/gpdb,Chibin/gpdb,adam8157/gpdb,postmind-net/postgres-xl,greenplum-db/gpdb,janebeckman/gpdb,edespino/gpdb,ahachete/gpdb,atris/gpdb,janebeckman/gpdb,royc1/gpdb,cjcjameson/gpdb,snaga/postgres-xl,xuegang/gpdb,ahachete/gpdb,kaknikhil/gpdb,tangp3/gpdb,foyzur/gpdb