Skip to content
RED SAG Skills
hard20 pts · first answer countstransactionspostgresqlrow-locks

Foreign key checks and row locks

In PostgreSQL, inserting an order with customer_id = 9 takes a lock on customer row 9. Why does an UPDATE of that customer's phone number not wait for it?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions