Re: Need help understanding has_function_privilege

Поиск
Список
Период
Сортировка
Искать
От
Joe Conway
Тема
Re: Need help understanding has_function_privilege
Дата
Msg-id
0a5f1785-20ee-4a3a-92b1-7d5d5cc3970f@joeconway.com
Ответ на
Список
Дерево обсуждения
Need help understanding has_function_privilege Cosimo Simeone <cosimo.simeone@gmail.com>
Re: Need help understanding has_function_privilege Joe Conway <mail@joeconway.com>
Re: Need help understanding has_function_privilege "David G. Johnston" <david.g.johnston@gmail.com>
Re: Need help understanding has_function_privilege Cosimo Simeone <cosimo.simeone@gmail.com>
Re: Need help understanding has_function_privilege "David G. Johnston" <david.g.johnston@gmail.com>
On 3/19/25 04:24, Cosimo Simeone wrote:
> Hi!
> I'd need help understanding what i am doing wrong...
> 
> Where am I:
> =# \c
> psql (15.8 (Homebrew), server 14.15 (Debian 14.15-1.pgdg120+1))
> You are now connected to database "postgres" as user "postgres".
> 
> Init:
> =# create role my_user;
> =# create schema my_schema;
> =# create function my_schema.my_func(p1 text) returns integer as $ 
> $select 1::integer;$$ language sql;

See:

https://www.postgresql.org/docs/current/sql-createfunction.html#:~:text=execute%20privilege%20is%20granted%20to%20PUBLIC

-- 
Joe Conway
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com


В списке pgsql-general по дате отправления
От: Siraj G
Дата:
От: Adrian Klaver
Дата:
FAQ