Hacker News new | ask | show | jobs
by andrewstuart 659 days ago
I used RLS in Django by intercepting all outbound SQL and wrapping each statement in the commands to set the Postgres variable.

Note that a Postgres environment variable is not an operating system environment variable.