Re: Aren't regex_*() functions built-in?

Поиск
Список
Период
Сортировка
От Christophe Pettus
Тема Re: Aren't regex_*() functions built-in?
Дата
Msg-id 4D634333-1E86-4425-B4BC-71EA136A0D94@thebuild.com
обсуждение исходный текст
Ответ на Re: Aren't regex_*() functions built-in?  (pf@pfortin.com)
Список pgsql-general

> On Nov 11, 2023, at 17:20, pf@pfortin.com wrote:
> Actually, it's more eusbtle...  I can make it work as "postgres"; but not
> as a RO user (SELECT only):
> An error occurred when executing the SQL command:
> select * from a,b where regexp_replace(a.address,' ','','g') = regexp_replace(b.address,' ','','g')
>
> ERROR: permission denied for table a
> 1 statement failed.
>
> I had no idea functions need permissions... GRANT EXTENSION..?

The permission error isn't on the function, but on the table "a".  The RO user doesn't have the appropriate permissions
onit. 


В списке pgsql-general по дате отправления:

Предыдущее
От: pf@pfortin.com
Дата:
Сообщение: Re: Aren't regex_*() functions built-in?
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Aren't regex_*() functions built-in?