Drop no-longer-needed buffers during ALTER DATABASE SET TABLESPACE.
Drop no-longer-needed buffers during ALTER DATABASE SET TABLESPACE.

The previous coding assumed that we could just let buffers for the
database's old tablespace age out of the buffer arena naturally.
The folly of that is exposed by bug #11867 from Marc Munro: the user could
later move the database back to its original tablespace, after which any
still-surviving buffers would match lookups again and appear to contain
valid data.  But they'd be missing any changes applied while the database
was in the new tablespace.

This has been broken since ALTER SET TABLESPACE was introduced, so
back-patch to all supported branches.

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