Repository navigation
Search path not including "public" schema? #5295
|
We have a 10.1.2 installation (FreeBSD) that is working correctly, and a 12.2.9 installation (Ubuntu) that is failing due to the search path not including "public" schema. Both installations are using identical config files that specify I checked the |
Replies: 2 comments 2 replies
|
@mdr1384 Could you try latest v16 version instead of v12.2.9? I can't remember a change on |
|
v11 introduced "Configurable role settings" (#2561), see: https://docs.postgrest.org/en/v16/references/transactions.html#impersonated-role-settings. This means that a I'd suggest to remove that. |
v11 introduced "Configurable role settings" (#2561), see: https://docs.postgrest.org/en/v16/references/transactions.html#impersonated-role-settings.
This means that a
search_paththat is set on the role that is present in the JWT, will be switched into. In your case, this will have the search path set to justapi, but notpublic.I'd suggest to remove that.