Disallow LOCK TABLE outside a transaction block (or function), since this case

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 31b15fe8dcd2e026afc0b566f50141ae9a7273b5
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-11-04T00:57:19Z
Releases: 8.4.0
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.

Files