You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Is there a way to indicate shared intended exclusive locks on page/row level (update locks) like locking hints or Select For Update ? I am not on MVCC and I'd would use it to avoid deadlocks in certain situations
Ingres Forums
unread,
Jul 18, 2012, 7:32:56 AM7/18/12
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
If you're not using MVCC then pessimistic locking is all you have to
work with. In which case all you can do is SET LOCKMODE SESSION WHERE
READLOCK=EXCLUSIVE.
That'll be highly disruptive if you don't immediately revert to
READLOCK=SYSTEM as soon as you no longer need it.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
>SET LOCKMODE SESSION WHERE READLOCK=EXCLUSIVE.
does it take immediate effect or is it activated on the first select ?
Ingres Forums
unread,
Jul 18, 2012, 10:32:23 AM7/18/12
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
It has to be issued outside the scope of a transaction (i.e. following a
commit or a rollback) so for practical purposes it takes effect on the
first query after you set it.