| От | Richard Huxton |
|---|---|
| Тема | Re: GRANT ON ALL IN schema |
| Дата | |
| Msg-id | 4A7BD066.3040109@archonet.com обсуждение исходный текст |
| Ответ на | Re: GRANT ON ALL IN schema (decibel <decibel@decibel.org>) |
| Список | pgsql-hackers |
decibel wrote: > In this specific case, I think there's enough demand to warrant a > built-in mechanism for granting, but if something like exec() is > built-in then the bar isn't as high for what the built-in GRANT > mechanism needs to handle. > > CREATE OR REPLACE FUNCTION tools.exec( > sql text > , echo boolean > ) RETURNS text LANGUAGE plpgsql AS $exec$ Perhaps another two functions too: list_all(objtype, schema_pattern, name_pattern) exec_for(objtype, schema_pattern, name_pattern, sql_with_markers) Obviously the third is a simple wrapper around the first two. -- Richard Huxton Archonet Ltd
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера