Remove redundant comment regarding RelationBuildRowSecurity in relcache.c

Поиск
Список
Период
Сортировка
От Khan, Tanzeel
Тема Remove redundant comment regarding RelationBuildRowSecurity in relcache.c
Дата
Msg-id 8BD3D145-D880-49B9-9A5D-09EDEF5CEF4A@amazon.com
обсуждение исходный текст
Список pgsql-hackers

Hi,

 

A comment in relcache.c mentions that RelationBuildRowSecurity

adds a default-deny policy when no policy exists on table. This

does not seem to be the case. The default deny policy is added

later on, inside get_row_security_policies(). Also it mentions that

there can never be zero policies for a relation which is true

but here it kind of hints that rd_rsdesc->policies can never be

null.

Added a patch to remove both of these comments.

 

Thanks,

Tanzeel Khan

Вложения

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