row level security stuck with recursive checking with SELECT
Hi all,
I have
I have this function:
But when I use this function for
it falls into infinite recursive loop. What's the smart way to deal with this?
I have
rooms and participations tables. This participations has both room_id and user_id. When a user enters a room, a new row is added. You get the idea, right?I have this function:
But when I use this function for
it falls into infinite recursive loop. What's the smart way to deal with this?