aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/async.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-09-29 23:40:26 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-09-29 23:40:26 +0000
commite33f205a945e7497b9aecffffb7e3b0a199f8a29 (patch)
treecf5d530e56ed7d44b379058f479949a98050291e /src/backend/commands/async.c
parent6b4caf53e632db88a7bae21a0494c50b54120e38 (diff)
downloadpostgresql-e33f205a945e7497b9aecffffb7e3b0a199f8a29.tar.gz
postgresql-e33f205a945e7497b9aecffffb7e3b0a199f8a29.zip
Adjust btree index build procedure so that the btree metapage looks
invalid (has the wrong magic number) until the build is entirely complete. This turns out to cost no additional writes in the normal case, since we were rewriting the metapage at the end of the process anyway. In normal scenarios there's no real gain in security, because a failed index build would roll back the transaction leaving an unused index file, but for rebuilding shared system indexes this seems to add some useful protection.
Diffstat (limited to 'src/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions