Refactor NUM_cache_remove calls in error report path to a PG_TRY block.
Refactor NUM_cache_remove calls in error report path to a PG_TRY block.

The code in the new block was not reindented; it will be fixed by pgindent
eventually.

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