Skip to content

Commit 95997e1

Browse files
committed
Rename heap_replace to heap_update.
1 parent bb10bf3 commit 95997e1

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 (see heap_replace). To get around this we
1162+
* ghost tuple problem (see heap_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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy