Closed steve-chavez closed 3 months ago
One test is failing after this change:
$ postgrest-test-io -vv -k test_get_granted_superuser_setting
One test is failing after this change:
$ postgrest-test-io -vv -k test_get_granted_superuser_setting
Since the in-db config needs the PostgreSQL version to load the in-db role settings. So it has to be queried after the PG Version and before the Schema Cache.
I tried a fix here: https://github.com/steve-chavez/postgrest/pull/9
I backported this commit to the v12 branch. You might want to add a changelog entry in the release commit.
Fixes #3660. Load the in-db config before the schema cache.
The regression happened on f09655b.