You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the latest nightly, when trying to run postgrest --dump-config, I get the following error:
$ postgrest --dump-config
An error ocurred when trying to query database settings for the config parameters:
SessionError (QueryError "\n with\n role_setting as (\n select unnest(setconfig) as setting from pg_catalog.pg_db_role_setting where setrole = 'postgrest_test_authenticator'::regrole::oid\n ),\n kv_settings as (\n select split_part(setting, '=', 1) as key, split_part(setting, '=', 2) as value from role_setting\n )\n select replace(key, 'pgrst.', '') as key, value from kv_settings where key like 'pgrst.%';\n " [] (ResultError (ServerError "42704" "role \"postgrest_test_authenticator\" does not exist" Nothing Nothing)))
Seems like the role "postgrest_test_authenticator" was hardcoded here:
Environment
Description of issue
In the latest nightly, when trying to run
postgrest --dump-config
, I get the following error:Seems like the role "postgrest_test_authenticator" was hardcoded here:
postgrest/src/PostgREST/Statements.hs
Line 205 in 125ea8f
Related: #1729
The same error also appears on
postgrest --dump-schema
, but the schema JSON is still printed.The text was updated successfully, but these errors were encountered: