pgsql-server/ oc/src/sgml/ref/reindex.sgml rc/ ...

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/ oc/src/sgml/ref/reindex.sgml rc/ ...
Date: 2003-09-29 23:40:26
Message-ID: 20030929234026.A7C20D1B579@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl(at)svr1(dot)postgresql(dot)org 03/09/29 20:40:26

Modified files:
doc/src/sgml/ref: reindex.sgml
src/backend/access/nbtree: nbtpage.c nbtree.c nbtsort.c
nbtxlog.c
src/include/access: nbtree.h

Log message:
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.

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2003-09-30 00:59:51 pgsql-server/src/pl/plpgsql/src pl_comp.c
Previous Message Bruce Momjian 2003-09-29 23:16:45 pgsql-server/. HISTORY