This patch is for the TODO item
* Disallow LOCK on view
src/backend/commands/command.c is the only affected file
-- Mark Hollomonmhh(at)mindspring(dot)com