aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorStephen Frost <sfrost@snowman.net>2015-05-11 15:44:12 -0400
committerStephen Frost <sfrost@snowman.net>2015-05-11 15:44:12 -0400
commitfa2642438f189c2b169ace3ac1df19533b9c7781 (patch)
tree7a455813a35d03230771870778bd9a47962c916e /contrib/postgres_fdw/postgres_fdw.c
parent9d15292cfc581d2916778b79df0f0e86e032a677 (diff)
downloadpostgresql-fa2642438f189c2b169ace3ac1df19533b9c7781.tar.gz
postgresql-fa2642438f189c2b169ace3ac1df19533b9c7781.zip
Allow LOCK TABLE .. ROW EXCLUSIVE MODE with INSERT
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).
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions