postgresql/src/backend
Tom Lane 45a607d5c7 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.
2014-11-04 13:24:26 -05:00
..
access Cannot rely on %z printf length modifier. 2014-10-05 09:57:07 +03:00
bootstrap Revert "Fix bogus %name-prefix option syntax in all our Bison files." 2014-05-28 19:29:53 -04:00
catalog Fix REASSIGN OWNED for text search objects 2014-07-15 13:24:07 -04:00
commands Drop no-longer-needed buffers during ALTER DATABASE SET TABLESPACE. 2014-11-04 13:24:26 -05:00
executor Fix bug with whole-row references to append subplans. 2014-07-11 19:12:51 -04:00
foreign deflist_to_tuplestore dumped core on an option with no value. 2011-09-13 11:36:57 -04:00
lib Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
libpq Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
main Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
nodes Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
optimizer Fix some more problems with nested append relations. 2014-10-01 19:30:41 -04:00
parser Revert "Fix bogus %name-prefix option syntax in all our Bison files." 2014-05-28 19:29:53 -04:00
po Translation updates 2014-07-21 00:56:23 -04:00
port Fix spinlock implementation for some !solaris sparc platforms. 2014-09-09 23:48:03 +02:00
postmaster Don't balance vacuum cost delay when per-table settings are in effect 2014-10-03 13:01:27 -03:00
regex Fix two low-probability memory leaks in regular expression parsing. 2014-07-18 13:00:57 -04:00
replication Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
rewrite Add some errdetail to checkRuleResultList(). 2014-07-02 14:20:47 -04:00
snowball Fix ancient encoding error in hungarian.stop. 2014-06-10 22:48:59 -04:00
storage Add defenses against running with a wrong selection of LOBLKSIZE. 2014-06-05 11:31:22 -04:00
tcop Fix segmentation fault that an empty prepared statement could cause. 2014-09-05 02:19:57 +09:00
tsearch Improve ispell dictionary's defenses against bad affix files. 2014-10-23 13:11:45 -04:00
utils Fix two bugs in tsquery @> operator. 2014-10-27 10:51:38 +02:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:06 +02:00
common.mk Expand test coverage support to entire tree 2009-08-07 20:50:22 +00:00
Makefile Fix PGXS support for building loadable modules on AIX. 2012-10-09 21:04:20 -04:00
nls.mk Translation updates 2013-02-03 23:56:29 -05:00