Re: Accessing Extension with out Superuser privilege

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Geo P.C." <pcgeopc@xxxxxxxxx> 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


-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux