~benburwell/postgres-rls-lab

Initial commit

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~benburwell/postgres-rls-lab
read/write
git@git.sr.ht:~benburwell/postgres-rls-lab

You can also use your local clone with git send-email.

#PostgreSQL Row-Level Security Lab

This "lab" image goes along with https://www.benburwell.com/posts/row-level-security-postgresql-views/.

To use it, simply start a container called rlslab with:

docker run --rm --detach --name rlslab benburwell/postgres-rls-lab

Then, you can connect to the database in the container using psql:

docker exec -it rlslab psql -U postgres

Use Ctrl-D to exit psql. When you're finished, don't forget to stop the container:

docker stop rlslab