• Stephen Frost's avatar
    Allow LOCK TABLE .. ROW EXCLUSIVE MODE with INSERT · fa264243
    Stephen Frost authored
    INSERT acquires RowExclusiveLock during normal operation and therefore
    it makes sense to allow LOCK TABLE .. ROW EXCLUSIVE MODE to be executed
    by users who have INSERT rights on a table (even if they don't have
    UPDATE or DELETE).
    
    Not back-patching this as it's a behavior change which, strictly
    speaking, loosens security restrictions.
    
    Per discussion with Tom and Robert (circa 2013).
    fa264243
lock.sgml 9.24 KB