| От | Peter Eisentraut |
|---|---|
| Тема | Re: improved DefElem list processing |
| Дата | |
| Msg-id | a1308c03-e682-2997-22d9-ecca54e66b22@2ndquadrant.com обсуждение исходный текст |
| Ответ на | Re: improved DefElem list processing (Alvaro Herrera <alvherre@2ndquadrant.com>) |
| Список | pgsql-hackers |
On 8/22/16 10:28 AM, Alvaro Herrera wrote: > Peter Eisentraut wrote: > >> I'm not happy that utils/acl.h has prototypes for aclchk.c, because >> acl.h is included all over the place. Perhaps I should make a >> src/include/catalog/aclchk.c to clean that up. > > I've been bothered by that too in the past. +1 for the cleanup. Here is a patch for that. It didn't quite achieve the elegance I was hoping for. Most uses of acl.h actually use aclchk.c functions, and the new aclchk.h must include acl.h, so basically you end up just changing most includes of acl.h to aclchk.h while still effectively including acl.h everywhere. But I think having one header file serve two separate .c files is still a confusing pattern that is worth cleaning up. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера