Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XUsjL-0005Tk-TK for pgsql-bugs@arkaria.postgresql.org; Fri, 19 Sep 2014 07:35:48 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XUsjK-0000HV-9e for pgsql-bugs@arkaria.postgresql.org; Fri, 19 Sep 2014 07:35:46 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XUsj9-0008NY-AX for pgsql-bugs@postgresql.org; Fri, 19 Sep 2014 07:35:35 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XUsj2-0000TC-NS for pgsql-bugs@postgresql.org; Fri, 19 Sep 2014 07:35:30 +0000 Received: from intern.anarazel.de (p5DDC5978.dip0.t-ipconnect.de [93.220.89.120]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id 42C3F520002; Fri, 19 Sep 2014 09:35:27 +0200 (CEST) Date: Fri, 19 Sep 2014 09:35:25 +0200 From: Andres Freund To: Amit Kapila Cc: Craig Ringer , Stephen Frost , katsumata.tomonari@po.ntts.co.jp, PostgreSQL Bugs Subject: Re: BUG #11350: ALTER SYSTEM is not DDL? Message-ID: <20140919073525.GB4277@alap3.anarazel.de> References: <20140904051356.2926.42797@wrigleys.postgresql.org> <20140904191456.GW16422@tamriel.snowman.net> <541BAECC.9020507@2ndquadrant.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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-19 12:50:24 +0530, Amit Kapila wrote: > On Fri, Sep 19, 2014 at 9:49 AM, Craig Ringer wrote: > > > > On 09/05/2014 08:32 PM, Amit Kapila wrote: > > > > > > and Alter System affects at system level, both of these can't > > > be considered as DDL, may be a separate category. > > > > Like CREATE USER / CREATE ROLE / CREATE DATABASE ? > > > > All those are logged as DDL. > > They are different from ALTER SYSTEM in terms that they create/modify > the object (here object can be any database or cluster object) property. > > Can you tell me that if we want to make ALTER SYSTEM as DDL, then > why SET or CHECKPOINT commands can't be DDL? Really? Because neither has persistent effects? I'd be perfectly fine if we started logging CHECKPOINT; as DDL - SET on the hand doesn't make much sense. 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