Re: What is wrong here?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: What is wrong here?
Дата
Msg-id 25254.1082638496@sss.pgh.pa.us
обсуждение исходный текст
Ответ на What is wrong here?  ("Tumurbaatar S." <tumurbaatar@datacom.mn>)
Список pgsql-general
"Tumurbaatar S." <tumurbaatar@datacom.mn> writes:
> The following function returns this error:
> pg_query(): Query failed: ERROR:  permission denied for relation customers
> CONTEXT:  PL/pgSQL function "newprofile" line 8 at SQL statement
> What is wrong here?

By default functions execute with the permissions of the calling user.
If that's not what you want, see the SECURITY DEFINER option of CREATE
FUNCTION.

            regards, tom lane

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

Предыдущее
От: Harald Fuchs
Дата:
Сообщение: Re: Unicode problem ???
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: [ADMIN] Restoring a Databases that features tserach2