Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Different DBs implement locks differently.

Postgres allows obtaining advisory locks at either the session _or_ transaction level. If it's session-level, then you have, ergo, a connection-level lock.

https://www.postgresql.org/docs/current/explicit-locking.htm...



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

Search: