| 48 | {{{ |
| 49 | SELECT my_exec1( 'ALTER FUNCTION '||nsp.nspname||'.'||p.proname||'('||pg_get_function_identity_arguments(p.oid)||') OWNER TO edokumenty;') |
| 50 | from pg_proc p |
| 51 | join pg_namespace nsp ON p.pronamespace = nsp.oid |
| 52 | where nsp.nspname IN ('public', 'epuap', 'syncml_server', 'reports', 'vindication', 'cregisters', 'custom', 'jet_search', 'sekap', 'translatica'); |
| 53 | SELECT my_exec1( 'GRANT EXECUTE ON FUNCTION '||nsp.nspname||'.'||p.proname||'('||pg_get_function_identity_arguments(p.oid)||') TO http;') |
| 54 | from pg_proc p |
| 55 | join pg_namespace nsp ON p.pronamespace = nsp.oid |
| 56 | where nsp.nspname IN ('public', 'epuap', 'syncml_server', 'reports', 'vindication', 'cregisters', 'custom', 'jet_search', 'sekap', 'translatica'); |
| 57 | }}} |
| 58 | |