Fix incorrect parameter name in a function header comment
authorDavid Rowley
Sun, 25 Oct 2020 09:39:00 +0000 (22:39 +1300)
committerDavid Rowley
Sun, 25 Oct 2020 09:41:29 +0000 (22:41 +1300)
Author: Zhijie Hou
Discussion: https://postgr.es/m/14cd74ea00204cc8a7ea5d738ac82cd1@G08CNEXMBPEKD05.g08.fujitsu.local
Backpatch-through: 12, where the mistake was introduced

src/backend/utils/cache/lsyscache.c

index 4e9e0aad787bc2792eb55caafb91e9a62fd43260..e24256979db88a6b61483ad45043820283369daa 100644 (file)
@@ -824,7 +824,7 @@ get_attnum(Oid relid, const char *attname)
 /*
  * get_attgenerated
  *
- *     Given the relation id and the attribute name,
+ *     Given the relation id and the attribute number,
  *     return the "attgenerated" field from the attribute relation.
  *
  *     Errors if not found.