Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XPPN3-0001K0-4M for pgsql-bugs@arkaria.postgresql.org; Thu, 04 Sep 2014 05:14:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XPPN2-0000RI-HJ for pgsql-bugs@arkaria.postgresql.org; Thu, 04 Sep 2014 05:14:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XPPN1-0000RB-UO for pgsql-bugs@postgresql.org; Thu, 04 Sep 2014 05:14:07 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XPPMy-0002Rr-HW for pgsql-bugs@postgresql.org; Thu, 04 Sep 2014 05:14:06 +0000 MIME-Version: 1.0 Subject: BUG #11350: ALTER SYSTEM is not DDL? To: pgsql-bugs@postgresql.org From: katsumata.tomonari@po.ntts.co.jp Date: Thu, 04 Sep 2014 05:13:56 +0000 Message-ID: <20140904051356.2926.42797@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.2 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 11350 Logged by: Tomonari Katsumata Email address: katsumata.tomonari@po.ntts.co.jp PostgreSQL version: 9.4beta2 Operating system: RHEL6.4 x86_64 Description: Hi, I found an odd thing about logging for alter system. When I set 'log_statement=ddl' and execute ALTER SYSTEM, any log messages are not outputted. ----------------------------------------------- [log_statement = ddl] postgres=# alter system set autovacuum to off; ALTER SYSTEM ----------------------------------------------- Whereas, when I set 'log_statemnt = all' then log messege is outputted. ----------------------------------------------- [log_statement = all] postgres=# alter system set autovacuum to off; LOG: statement: alter system set autovacuum to off; ALTER SYSTEM ----------------------------------------------- The document says about log_statement: >ddl logs all data definition statements, such as CREATE, ALTER, and DROP statements. So I think log message should be outputted when executing ALTER SYSTEM with 'log_statement = ddl'. Am I missing something? -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs