Fix typo in src/backend/utils/cache/lsyscache.c

From: "Hou, Zhijie" <houzj(dot)fnst(at)cn(dot)fujitsu(dot)com>
To: PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Fix typo in src/backend/utils/cache/lsyscache.c
Date: 2020-10-25 01:22:55
Message-ID: 14cd74ea00204cc8a7ea5d738ac82cd1@G08CNEXMBPEKD05.g08.fujitsu.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
0001-fix-typo.patch application/octet-stream 778 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2020-10-25 02:35:23 Re: Collation versioning
Previous Message David Rowley 2020-10-25 01:06:38 Re: Parallel Append can break run-time partition pruning