aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/advanced.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2014-11-04 13:24:10 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2014-11-04 13:24:10 -0500
commita192d5d05dd943d8fde0c52f4a924690696daec1 (patch)
tree01477bcbf81f29269feab4eb203b8eb638103a24 /src/tutorial/advanced.source
parent21495a2bb7599fb7546b146ca33bd7c6157c1472 (diff)
downloadpostgresql-a192d5d05dd943d8fde0c52f4a924690696daec1.tar.gz
postgresql-a192d5d05dd943d8fde0c52f4a924690696daec1.zip
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.
Diffstat (limited to 'src/tutorial/advanced.source')
0 files changed, 0 insertions, 0 deletions