Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XPdOw-0000E2-6P for pgsql-bugs@arkaria.postgresql.org; Thu, 04 Sep 2014 20:13:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XPdOv-00049c-FN for pgsql-bugs@arkaria.postgresql.org; Thu, 04 Sep 2014 20:13:01 +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 1XPdOu-00049V-Il for pgsql-bugs@postgresql.org; Thu, 04 Sep 2014 20:13:00 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XPdOm-00049k-EI for pgsql-bugs@postgresql.org; Thu, 04 Sep 2014 20:12:59 +0000 Received: from intern.anarazel.de (static-243-200-78-212.thenetworkfactory.nl [212.78.200.243]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id 57D424F0001; Thu, 4 Sep 2014 22:12:50 +0200 (CEST) Date: Thu, 4 Sep 2014 22:12:48 +0200 From: Andres Freund To: Stephen Frost Cc: Amit Kapila , katsumata.tomonari@po.ntts.co.jp, PostgreSQL Bugs Subject: Re: BUG #11350: ALTER SYSTEM is not DDL? Message-ID: <20140904201248.GE3625@alap3.anarazel.de> References: <20140904051356.2926.42797@wrigleys.postgresql.org> <20140904191456.GW16422@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140904191456.GW16422@tamriel.snowman.net> X-Pg-Spam-Score: -2.6 (--) 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 On 2014-09-04 15:14:56 -0400, Stephen Frost wrote: > * Amit Kapila (amit.kapila16@gmail.com) wrote: > > On Thu, Sep 4, 2014 at 10:43 AM, wrote: > > > So I think log message should be outputted when executing ALTER SYSTEM > > with > > > 'log_statement = ddl'. > > > > > > Am I missing something? > > > > Currently it is considered similar to SET statement as it performs > > similar operation except that the value for configuration gets set > > in configuration file. Do you see any reason for it to be considered > > differently except that the command has ALTER keyword? > > Uh, it's nothing like SET as SET only affects the current session. > > It's much, much closer to ALTER ROLE, which correctly logs at the DDL > level. This should be fixed, and before 9.4 goes out... +1. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs