4 ms·
IIRC postgrest starts a transaction for each request, and inside of that sets the variables. I've done some testing to make sure that variables do not leak betw
by SahAssar 5y ago
IIRC postgrest starts a transaction for each request, and inside of that sets the variables. I've done some testing to make sure that variables do not leak between requests.
See the local option here for more options: https://www.postgresql.org/docs/current/functions-admin.html#FUNCTIONS-ADMIN-SET https://www.postgresql.org/docs/current/functions-admin.html...
If using the role-mapping feature of postgrest it works similarly, only setting the ROLE instead of the variables.