postgres.git / summary / log / commit / refs
commit 2a15eeeddff982b7b9732d18985276d91ff210a7
Author: David Rowley <drowley@postgresql.org>
Date: Sun Oct 25 09:39:00 2020 +0000
First released in: 14.0, 12.5, 13.1
Fix incorrect parameter name in a function header comment
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/utils/cache/lsyscache.c b/src/backend/utils/cache/lsyscache.c
index 4e9e0aad787..e24256979db 100644
--- a/src/backend/utils/cache/lsyscache.c
+++ b/src/backend/utils/cache/lsyscache.c
@@ -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.
[parent: bdc79ddd1079]