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

Allow selection of schema for Postgres datastore #1193

Closed
jusw85 opened this issue May 6, 2016 · 2 comments
Closed

Allow selection of schema for Postgres datastore #1193

jusw85 opened this issue May 6, 2016 · 2 comments
Assignees
Labels
good first issue Issues that beginners/volunteers can easily help with. task/feature Requests for new features in Kong

Comments

@jusw85
Copy link

jusw85 commented May 6, 2016

Postgres datastore uses 'public' schema implicitly.
Allow configuration to select the schema used.

Implementation wise, probably prefix all SQL/DDL statements with
SET LOCAL search_path TO <schema_name>;

@subnetmarco
Copy link
Member

By closing #1198 Kong will now uses the default search_path whose value is '"$user", public' (http://www.postgresql.org/docs/9.1/static/runtime-config-client.html).

An additional update on the Postgres client is required to make this value configurable. Assigning this to @thibaultcha since he built the Postgres driver.

@thibaultcha thibaultcha added the task/feature Requests for new features in Kong label Nov 17, 2016
@hishamhm hishamhm removed the area/DAO label Oct 18, 2017
@thibaultcha thibaultcha added the good first issue Issues that beginners/volunteers can easily help with. label Jul 27, 2018
@bungle
Copy link
Member

bungle commented Aug 15, 2019

Schema can be selected:
#4167

So closing this.

@bungle bungle closed this as completed Aug 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Issues that beginners/volunteers can easily help with. task/feature Requests for new features in Kong
Projects
None yet
Development

No branches or pull requests

5 participants