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

Continuing with the FYIs:

Explicit locks can mean just calling LOCK TABLE account_balances IN SHARE ROW EXCLUSIVE MODE; early in the transaction and then doing SELECT ... FOR UPDATE; or similar configurations to enforce business rules where it matters.

https://www.postgresql.org/docs/current/sql-lock.html



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

Search: