From: katsumata.tomonari@po.ntts.co.jp
To: pgsql-bugs@postgresql.org
Subject: BUG #11350: ALTER SYSTEM is not DDL?
Date: Thu, 04 Sep 2014 05:13:56 +0000
Message-ID: <20140904051356.2926.42797@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: katsumata.tomonari@po.ntts.co.jp
Subject: Re: BUG #11350: ALTER SYSTEM is not DDL?
In-Reply-To: <20140904051356.2926.42797@wrigleys.postgresql.org>
References: <20140904051356.2926.42797@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox