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

Commit95997e1

Browse files
committed
Rename heap_replace to heap_update.
1 parentbb10bf3 commit95997e1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎src/backend/bootstrap/bootstrap.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Copyright (c) 1994, Regents of the University of California
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.71 1999/11/07 23:07:59 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.72 1999/11/24 00:58:48 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -1159,7 +1159,7 @@ build_indices()
11591159
* Unfortunately, there are always two indices defined on each
11601160
* catalog causing us to update the same pg_class tuple twice for
11611161
* each catalog getting an index during bootstrap resulting in the
1162-
* ghost tuple problem (seeheap_replace).To get around this we
1162+
* ghost tuple problem (seeheap_update).To get around this we
11631163
* change the relhasindex field ourselves in this routine keeping
11641164
* track of what catalogs we already changed so that we don't
11651165
* modify those tuples twice. The normal mechanism for updating

‎src/backend/utils/cache/syscache.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.41 1999/11/22 17:56:32 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.42 1999/11/24 00:58:48 momjian Exp $
1111
*
1212
* NOTES
1313
* These routines allow the parser/planner/executor to perform
@@ -71,7 +71,7 @@ typedef HeapTuple (*ScanFunc) ();
7171
function names in the same order as the cache list for clarity.
7272
7373
Finally, any place your relation gets heap_insert() or
74-
heap_replace calls, include code to do a CatalogIndexInsert() to update
74+
heap_update calls, include code to do a CatalogIndexInsert() to update
7575
the system indexes. The heap_* calls do not update indexes.
7676
7777
bjm 1999/11/22

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp