aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/table/tableamapi.c
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2019-03-11 08:16:14 +0530
committerAndres Freund <andres@anarazel.de>2019-03-11 09:58:46 -0700
commita6e48da08844eeb5a72c8b59dad3aaab6e891fac (patch)
tree9b86035dde43e302a86706ab57204bf26be29ee0 /src/backend/access/table/tableamapi.c
parentaf38498d4c9b840e0e454574519459edda3871db (diff)
downloadpostgresql-a6e48da08844eeb5a72c8b59dad3aaab6e891fac.tar.gz
postgresql-a6e48da08844eeb5a72c8b59dad3aaab6e891fac.zip
Fix typos in commit 8586bf7ed8.
Author: Amit Kapila Discussion: https://postgr.es/m/CAA4eK1KNv1Mg2krf4E9ssWFnE=8A9mZ1VbVywXBZTFSzb+wP2g@mail.gmail.com
Diffstat (limited to 'src/backend/access/table/tableamapi.c')
-rw-r--r--src/backend/access/table/tableamapi.c6
1 files changed, 3 insertions, 3 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);