OSDN Git Service

Remove obsolete comment from btbuild() and hashbuild(): we no longer use
authorNeil Conway <neilc@samurai.com>
Thu, 11 Nov 2004 00:32:50 +0000 (00:32 +0000)
committerNeil Conway <neilc@samurai.com>
Thu, 11 Nov 2004 00:32:50 +0000 (00:32 +0000)
a global variable to control building indexes.

src/backend/access/hash/hash.c
src/backend/access/nbtree/nbtree.c

index 40b0572..0ca2343 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/backend/access/hash/hash.c,v 1.73 2004/08/29 05:06:40 momjian Exp $
+ *       $PostgreSQL: pgsql/src/backend/access/hash/hash.c,v 1.74 2004/11/11 00:32:40 neilc Exp $
  *
  * NOTES
  *       This file contains only the public interface routines.
@@ -44,11 +44,6 @@ static void hashbuildCallback(Relation index,
 
 /*
  *     hashbuild() -- build a new hash index.
- *
- *             We use a global variable to record the fact that we're creating
- *             a new index.  This is used to avoid high-concurrency locking,
- *             since the index won't be visible until this transaction commits
- *             and since building is guaranteed to be single-threaded.
  */
 Datum
 hashbuild(PG_FUNCTION_ARGS)
index 7c86aa8..92cd0f0 100644 (file)
@@ -12,7 +12,7 @@
  * Portions Copyright (c) 1994, Regents of the University of California
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/backend/access/nbtree/nbtree.c,v 1.120 2004/08/29 04:12:21 momjian Exp $
+ *       $PostgreSQL: pgsql/src/backend/access/nbtree/nbtree.c,v 1.121 2004/11/11 00:32:50 neilc Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -60,11 +60,6 @@ static void btbuildCallback(Relation index,
 
 /*
  *     btbuild() -- build a new btree index.
- *
- *             We use a global variable to record the fact that we're creating
- *             a new index.  This is used to avoid high-concurrency locking,
- *             since the index won't be visible until this transaction commits
- *             and since building is guaranteed to be single-threaded.
  */
 Datum
 btbuild(PG_FUNCTION_ARGS)