Re: Tentative patch for making DROP put dependency info in DETAIL
В списке pgsql-patches по дате отправления:
| От | Alex Hunsaker |
|---|---|
| Тема | Re: Tentative patch for making DROP put dependency info in DETAIL |
| Дата | |
| Msg-id | 34d269d40806121644seb280eaxf62020ccbaff01c9@mail.gmail.com обсуждение |
| Ответ на | Re: Tentative patch for making DROP put dependency info in DETAIL (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-patches |
On Thu, Jun 12, 2008 at 5:35 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: > "Alex Hunsaker" <badalex@gmail.com> writes: >> Yep, I thought about doing the reverse. Namely Just passing the >> DropStmt to RemoveRelation(s). But then all the permission check >> functions are in utility.c. Splitting those out seemed to be about >> the same as splitting out all the ObjectAddress stuff... > > Well, that might actually be a good approach: try to get ProcessUtility > back down to being just a dispatch switch. It's pretty much of a wart > that we're doing any permissions checking in utility.c at all. Possibly > those functions should be moved to aclchk.c and then used from > RemoveRelation(s) and friends, which would stay where they are but > change API. Ok Ill work up a patch. Whats that saying about sticking with your first instinct?
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера