Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/access/table/tableamapi.c6
-rw-r--r--src/backend/utils/cache/relcache.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/access/table/tableamapi.c b/src/backend/access/table/tableamapi.c
index d49607e7f85..54a078d68aa 100644
--- a/src/backend/access/table/tableamapi.c
+++ b/src/backend/access/table/tableamapi.c
@@ -103,9 +103,9 @@ get_table_am_oid(const char *tableamname, bool missing_ok)
ScanKeyData entry[1];
/*
- * Search pg_tablespace. We use a heapscan here even though there is an
- * index on name, on the theory that pg_tablespace will usually have just
- * a few entries and so an indexed lookup is a waste of effort.
+ * Search pg_am. We use a heapscan here even though there is an index on
+ * name, on the theory that pg_am will usually have just a few entries and
+ * so an indexed lookup is a waste of effort.
*/
rel = heap_open(AccessMethodRelationId, AccessShareLock);
diff --git a/src/backend/utils/cache/relcache.c b/src/backend/utils/cache/relcache.c
index 6b28c243bda..eba77491fd5 100644
--- a/src/backend/utils/cache/relcache.c
+++ b/src/backend/utils/cache/relcache.c
@@ -1680,7 +1680,7 @@ InitTableAmRoutine(Relation relation)
}
/*
- * Initialize table access method support for a table like relation relation
+ * Initialize table access method support for a table like relation
*/
void
RelationInitTableAccessMethod(Relation relation)