sujay
Fri Aug 02 2024
In postgres,
#postgres
current_setting()
function is used to get the value of a configuration parameter.
Set rls.tenant_id = 1;
SET
select current_setting('rls.tenant_id');
current_setting
-----------------
1
(1 row)
#postgres