Skip to content

Commit a6e48da

Browse files
Amit Kapilaanarazel
authored andcommitted
1 parent af38498 commit a6e48da

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/backend/access/table/tableamapi.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ get_table_am_oid(const char *tableamname, bool missing_ok)
103103
ScanKeyData entry[1];
104104

105105
/*
106-
* Search pg_tablespace. We use a heapscan here even though there is an
107-
* index on name, on the theory that pg_tablespace will usually have just
108-
* a few entries and so an indexed lookup is a waste of effort.
106+
* Search pg_am. We use a heapscan here even though there is an index on
107+
* name, on the theory that pg_am will usually have just a few entries and
108+
* so an indexed lookup is a waste of effort.
109109
*/
110110
rel = heap_open(AccessMethodRelationId, AccessShareLock);
111111

src/backend/utils/cache/relcache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1680,7 +1680,7 @@ InitTableAmRoutine(Relation relation)
16801680
}
16811681

16821682
/*
1683-
* Initialize table access method support for a table like relation relation
1683+
* Initialize table access method support for a table like relation
16841684
*/
16851685
void
16861686
RelationInitTableAccessMethod(Relation relation)

src/include/access/tableam.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* POSTGRES table access method definitions.
55
*
66
*
7-
* Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
7+
* Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* src/include/access/tableam.h

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