Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create extension hstore needs superuser #27

Closed
5at opened this issue Oct 17, 2017 · 4 comments
Closed

create extension hstore needs superuser #27

5at opened this issue Oct 17, 2017 · 4 comments

Comments

@5at
Copy link
Contributor

5at commented Oct 17, 2017

After following instructions in "Getting Started" to create database and user the AuditSchema.sql fails as the "create extension if not exists hstore;" statement requires superuser access (version 9.5.9 of postgresql).

@kyleu
Copy link
Owner

kyleu commented Oct 17, 2017

Thanks for finding this, I added the hstore column recently, and usually run superuser locally.

@kyleu
Copy link
Owner

kyleu commented Oct 17, 2017

Hmm, looks like postgres requires superuser to allow the extension. I use an hstore for the audit stuff, I could update the documentation to require a superuser, but that seems like overreaching. It's only for the tags, I may just pull that out for now.

@padurean
Copy link

Hi, what is the best solution for this? For the moment i've altered the role to be superuser.

@kyleu
Copy link
Owner

kyleu commented Jan 23, 2018

The alternative would be creating the hstore extension with a superuser, then removing the extension creation from ./ddl. Hstores are just too useful to give up :)

@kyleu kyleu closed this as completed Jan 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants