The following bug has been logged on the website:
Bug reference: 10989
Logged by: Sergey Burladyan
Email address: eshkinkot(at)gmail(dot)com
PostgreSQL version: 9.3.4
Operating system: Debian testing
Description:
If I run DROP directly, it logged:
drop view test_view ;
2014-07-18 16:20:51 MSK LOG: statement: drop view test_view ;
but this query is not:
do $$ begin execute 'drop view test_view'; end $$;