summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-11-15 20:36:40 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-11-15 20:36:40 +0000
commit6cc4451b5c47eac02e09c3342281da469374432d (patch)
treea97187cef1c3c2a95b7094fd46d68b0f448d7f33 /src/backend/access/gist/gistget.c
parent7a550cb95cf3a541deed15df1d5e25f36af636e5 (diff)
downloadpostgresql-6cc4451b5c47eac02e09c3342281da469374432d.tar.gz
Prevent re-use of a deleted relation's relfilenode until after the next
checkpoint. This guards against an unlikely data-loss scenario in which we re-use the relfilenode, then crash, then replay the deletion and recreation of the file. Even then we'd be OK if all insertions into the new relation had been WAL-logged ... but that's not guaranteed given all the no-WAL-logging optimizations that have recently been added. Patch by Heikki Linnakangas, per a discussion last month.
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions