mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-18 18:44:06 +08:00
Remove obsolete comment from btbuild() and hashbuild(): we no longer use
a global variable to control building indexes.
This commit is contained in:
parent
5bf218d2eb
commit
4d0f669f3c
@ -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,
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* 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 @@
|
|||||||
* 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,
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* 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)
|
||||||
|
Loading…
Reference in New Issue
Block a user