Hacker News new | past | comments | ask | show | jobs | submit login

IIRC you can `SET ROLE = ...`, query, `RESET ROLE` and be done with it.

Might need transactions, I'm not sure. I fiddled around with it a bit but it was too much overhead to work with.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: