You need to use
``` SET my.user = 'user1'; SELECT * FROM todos; ```
And in you RLS you can then use
``` CREATE POLICY owner ON todos USING (user = current_setting('my.user')); ```
You need to use
``` SET my.user = 'user1'; SELECT * FROM todos; ```
And in you RLS you can then use
``` CREATE POLICY owner ON todos USING (user = current_setting('my.user')); ```