Fix typo in src/backend/utils/cache/lsyscache.c
Hou, Zhijie <houzj.fnst@cn.fujitsu.com>
From: "Hou, Zhijie" <houzj.fnst@cn.fujitsu.com>
To: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2020-10-25T01:22:55Z
Lists: pgsql-hackers
Attachments
- 0001-fix-typo.patch (application/octet-stream) patch 0001
Hi I found the comment of function get_attgenerated(Oid relid, AttrNumber attnum) seems wrong. It seems the function is given the attribute number not the name. /* * 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. Best regards, houzj
Commits
-
Fix incorrect parameter name in a function header comment
- 2a15eeeddff9 12.5 landed
- 563973bf0668 13.1 landed
- e83c9f913c61 14.0 landed