BUG #10989: log_statement = ddl does not log ddl statements from stored functions - Mailing list pgsql-bugs

From eshkinkot@gmail.com
Subject BUG #10989: log_statement = ddl does not log ddl statements from stored functions
Date
Msg-id 20140718122934.2494.28264@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #10989: log_statement = ddl does not log ddl statements from stored functions  (Amit Kapila <amit.kapila16@gmail.com>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      10989
Logged by:          Sergey Burladyan
Email address:      eshkinkot@gmail.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 $$;

pgsql-bugs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: BUG #10794: psql sometimes ignores .psqlrc
Next
From: Marc Schablewski
Date:
Subject: PG 9.3.x: Dropping a table column breaks restore of dump if table is used as return type of a function used in a view