- Published
- Author
- Sujay
In postgres,
#postgres
current_setting() function is used to get the value of a configuration parameter.Code
Set rls.tenant_id = 1;
SET
select current_setting('rls.tenant_id');
current_setting
-----------------
1
(1 row)#postgres