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

Install Kong database inside a custom schema #1763

Closed
mytototo opened this issue Oct 24, 2016 · 6 comments
Closed

Install Kong database inside a custom schema #1763

mytototo opened this issue Oct 24, 2016 · 6 comments

Comments

@mytototo
Copy link

Hey! I'd like to install Kong in a schema other than public inside my PostgreSQL. I couldn't find any info about it. Is it possible?

@thibaultcha
Copy link
Member

That should be possible, see #1193 #1196.

@mytototo
Copy link
Author

mytototo commented Oct 24, 2016

I saw those issues but it's weird to not find docs about it. There is no official explanation at all about how using it. Also, there is no config keys available.

@mytototo
Copy link
Author

@thibaultcha Do you have a link/resource explaining how to configure such a thing?

@thibaultcha
Copy link
Member

You would need to configure the search_path of your Kong user, see: https://www.postgresql.org/docs/9.1/static/runtime-config-client.html

Contributions to make this configurable from the Kong side are welcomed!

@karthikg001
Copy link

Just trying to be explicit here; create a postgresql user with the same name as the schema name and use it in kong, to achieve this.

@dimitryvoronov
Copy link

Just trying to be explicit here; create a postgresql user with the same name as the schema name and use it in kong, to achieve this.

Hello @karthikg001 how exactly to put a specific schema to use by a kong? Thanks.

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

4 participants