]> granicus.if.org Git - postgresql/commit
Disallow LOCK TABLE outside a transaction block (or function), since this case
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 4 Nov 2008 00:57:19 +0000 (00:57 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 4 Nov 2008 00:57:19 +0000 (00:57 +0000)
commit31b15fe8dcd2e026afc0b566f50141ae9a7273b5
tree05f5e4baa642148d27478d1c71f919ff90d141d1
parent99e0996284b4c1719f6df990630391f7a91d3495
Disallow LOCK TABLE outside a transaction block (or function), since this case
almost certainly represents user error.  Per a gripe from Sebastian Böhm
and subsequent discussion.
doc/src/sgml/ref/declare.sgml
doc/src/sgml/ref/lock.sgml
src/backend/tcop/utility.c
src/test/regress/expected/privileges.out
src/test/regress/sql/privileges.sql