Skip to content

Last versions of PostgREST doesn't work if the SCHEMA name contains uppercase characters #5158

Description

@Pigeo

Environment

  • PostgreSQL version: 12 or 15 (tested on both)
  • PostgREST version: 13.0.8 or 14.16 (tested on both)
  • Operating system: Debian 10 or 11 (tested on both)

Description of issue

I have a working setup in production (since several years) with an old version of PostgREST.
Trying to upgrade it to PostgREST 13 or 14, I've got the following error on any HTTP requests:

{
  "code": "3F000",
  "details": null,
  "hint": null,
  "message": "schema \"rest_api_v1_0\" does not exist"
}

My PostgREST config file contains:

db-schema = "REST_API_v1_0"

It seems that SCHEMA names containing upper cases character are no longer working with PostgREST 13 ou 14 (it was working correctly with all the previous versions I used, at least from to PostgREST 7 to 12)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions