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!
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_configstatements in SQL before calling pgrst.db_root_spec. The parameters we currently need are:Need:
pgrst.server_hostandpgrst.server_port(or alternatelyserver_proxy_uri-- just let us know which)pgrst.db_schemaspgrst.versionThanks!