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

2020-10-25 Thread David Rowley
On Sun, 25 Oct 2020 at 14:23, Hou, Zhijie  wrote:
> 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.

Thanks. Pushed.

David




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

2020-10-24 Thread Hou, Zhijie
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




0001-fix-typo.patch
Description: 0001-fix-typo.patch