| От | Tom Lane |
|---|---|
| Тема | Re: Accessing Extension with out Superuser privilege |
| Дата | |
| Msg-id | 539.1444917734@sss.pgh.pa.us обсуждение |
| Ответ на | Accessing Extension with out Superuser privilege ("Geo P.C." <pcgeopc@gmail.com>) |
| Ответы |
Re: Accessing Extension with out Superuser privilege
|
| Список | pgsql-admin |
"Geo P.C." <pcgeopc@gmail.com> writes:
> In PostgreSQL server we created an extension with this command CREATE
> EXTENSION "uuid-ossp";
> For our drupal site with user "drupal_user" we are trying to access this
> but getting an error as "function uuid_generate_v4() does not exist"
> When we give privilege for user "drupal_user" as Superuser we are able to
> access it.
It sounds like your superuser account has a default search_path that
includes the schema this function is in, but your drupal_user account
has a different default search_path that doesn't. You could put the
extension in a different schema, or change drupal_user's search_path.
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера