Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4d0f669

Browse files
author
Neil Conway
committed
Remove obsolete comment from btbuild() and hashbuild(): we no longer use
a global variable to control building indexes.
1 parent5bf218d commit4d0f669

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

‎src/backend/access/hash/hash.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/access/hash/hash.c,v 1.73 2004/08/29 05:06:40momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/hash/hash.c,v 1.74 2004/11/11 00:32:40neilc Exp $
1212
*
1313
* NOTES
1414
* This file contains only the public interface routines.
@@ -44,11 +44,6 @@ static void hashbuildCallback(Relation index,
4444

4545
/*
4646
*hashbuild() -- build a new hash index.
47-
*
48-
*We use a global variable to record the fact that we're creating
49-
*a new index. This is used to avoid high-concurrency locking,
50-
*since the index won't be visible until this transaction commits
51-
*and since building is guaranteed to be single-threaded.
5247
*/
5348
Datum
5449
hashbuild(PG_FUNCTION_ARGS)

‎src/backend/access/nbtree/nbtree.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Portions Copyright (c) 1994, Regents of the University of California
1313
*
1414
* IDENTIFICATION
15-
* $PostgreSQL: pgsql/src/backend/access/nbtree/nbtree.c,v 1.120 2004/08/29 04:12:21 momjian Exp $
15+
* $PostgreSQL: pgsql/src/backend/access/nbtree/nbtree.c,v 1.121 2004/11/11 00:32:50 neilc Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -60,11 +60,6 @@ static void btbuildCallback(Relation index,
6060

6161
/*
6262
*btbuild() -- build a new btree index.
63-
*
64-
*We use a global variable to record the fact that we're creating
65-
*a new index. This is used to avoid high-concurrency locking,
66-
*since the index won't be visible until this transaction commits
67-
*and since building is guaranteed to be single-threaded.
6863
*/
6964
Datum
7065
btbuild(PG_FUNCTION_ARGS)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp