Skip to content

PostgREST configuration available in db_root_spec session #3029

Description

@wayland

Hi!

I'm helping with the effort to rewrite the OpenAPI stuff in SQL, in a separate module. I wanted to bring to the attention of the PostgREST devs one of the features that we'll need to have added to PostgREST to complete this work.

We need access to some of the configuration parameters from SQL. Our thought is that PostgREST can run some set_config statements in SQL before calling pgrst.db_root_spec. The parameters we currently need are:

Need:

  • pgrst.server_host and pgrst.server_port (or alternately server_proxy_uri -- just let us know which)
  • pgrst.db_schemas
  • pgrst.version

Thanks!

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

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions