Skip to content

PostgREST API - Relation does not exist error #3097

Answered by laurenceisla
mchatrvd asked this question in Q&A
Discussion options

You must be logged in to vote

Ah, I get it. The only way to change the schema is by using the Accept-Profile: schema_name (for GET, HEAD) and Content-Profile: schema_name (for POST, etc.) as it's mentioned in the docs I linked. For that to work, your configuration should list all the available schemas, e.g. db-schema = schema1,schema2

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mchatrvd
Comment options

@laurenceisla
Comment options

Answer selected by wolfgangwalther
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants