summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function
diff options
context:
space:
mode:
authorMartin Trigaux <mat@openerp.com>2014-09-22 17:56:51 +0200
committerMartin Trigaux <mat@openerp.com>2014-09-22 18:18:41 +0200
commit152c5c2b568044fbd033d2295e8026064243feba (patch)
treeb82aac24a4661d9c486d57ef2a023c16de2bc6c0 /addons/analytic_user_function
parent506e397e4a65cfca95f978ac53a63524d13443ba (diff)
[IMP] base: safer locking at user login
When a users connects, a lock is taken on the res_user table to modify the last login date. If another running transaction uses a foreign key to res.users (e.g. write_uid column), postgres may detect the update as a concurrent update and rollback the transaction. In pg 9.3, the lock_strength parameter 'NO KEY' allows a weaker lock which is less likely to break another transaction. Fixes #552
Diffstat (limited to 'addons/analytic_user_function')
0 files changed, 0 insertions, 0 deletions