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

Поиск
Список
Период
Сортировка
От Hou, Zhijie
Тема Fix typo in src/backend/utils/cache/lsyscache.c
Дата
Msg-id 14cd74ea00204cc8a7ea5d738ac82cd1@G08CNEXMBPEKD05.g08.fujitsu.local
обсуждение исходный текст
Ответы Re: Fix typo in src/backend/utils/cache/lsyscache.c  (David Rowley <dgrowleyml@gmail.com>)
Список 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



Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Parallel Append can break run-time partition pruning
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: Collation versioning