How to create a shared lock blocking an intent exclusive lock
- by FremenFreedom
As I understand it, a SELECT statement will place a shared lock on the rows that it will return. While that SELECT is running, if an UPDATE statement comes along and needs to grab an intent exclusive lock then that UPDATE statement will need to wait until the SELECT statement releases its shared locks.
I am trying to test this SELECT shared lock…