Revert incorrect memory-conservation hack in inheritance_planner().
Revert incorrect memory-conservation hack in inheritance_planner().

This reverts commit d1001a78ce612a16ea622b558f5fc2b68c45ab4c of 2010-12-05,
which was broken as reported by Jeff Davis.  The problem is that the
individual planning steps may have side-effects on substructures of
PlannerGlobal, not only the current PlannerInfo root.  Arranging to keep
all such side effects in the main planning context is probably possible,
but it would change this from a quick local hack into a wide-ranging and
rather fragile endeavor.  Which it's not worth.

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