Commit 4d0f669f authored by Neil Conway's avatar Neil Conway

Remove obsolete comment from btbuild() and hashbuild(): we no longer use

a global variable to control building indexes.
parent 5bf218d2
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * 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 * NOTES
* This file contains only the public interface routines. * This file contains only the public interface routines.
...@@ -44,11 +44,6 @@ static void hashbuildCallback(Relation index, ...@@ -44,11 +44,6 @@ static void hashbuildCallback(Relation index,
/* /*
* hashbuild() -- build a new hash 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 Datum
hashbuild(PG_FUNCTION_ARGS) hashbuild(PG_FUNCTION_ARGS)
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* IDENTIFICATION * 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, ...@@ -60,11 +60,6 @@ static void btbuildCallback(Relation index,
/* /*
* btbuild() -- build a new btree 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 Datum
btbuild(PG_FUNCTION_ARGS) btbuild(PG_FUNCTION_ARGS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment