Fix typos in commit 8586bf7ed8.
authorAmit Kapila <[email protected]>
Mon, 11 Mar 2019 02:46:14 +0000 (08:16 +0530)
committerAndres Freund <[email protected]>
Mon, 11 Mar 2019 16:58:46 +0000 (09:58 -0700)
Author: Amit Kapila
Discussion: https://postgr.es/m/CAA4eK1KNv1Mg2krf4E9ssWFnE=8A9mZ1VbVywXBZTFSzb+wP2g@mail.gmail.com

src/backend/access/table/tableamapi.c
src/backend/utils/cache/relcache.c
src/include/access/tableam.h

index d49607e7f8509577b635c32ad1874b3c6e2a53b8..54a078d68aa0f467f268a146028f59d1b94d7ce3 100644 (file)
@@ -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);
 
index 6b28c243bda09eab66eb76d5895999749290b65f..eba77491fd568582690f717549e5b36f2d718f3e 100644 (file)
@@ -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)
index caeb5887d5d2b275fbdf89c8314fea5a963ac5b1..ccdc6de3ae51d205ea713af503b4d46292f34c41 100644 (file)
@@ -4,7 +4,7 @@
  *   POSTGRES table access method definitions.
  *
  *
- * Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
  * src/include/access/tableam.h