pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@2ndquadrant.com>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: Craig Ringer <craig@2ndquadrant.com>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: katsumata.tomonari@po.ntts.co.jp
Cc: PostgreSQL Bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #11350: ALTER SYSTEM is not DDL?
Date: Fri, 19 Sep 2014 09:35:25 +0200
Message-ID: <20140919073525.GB4277@alap3.anarazel.de> (raw)
In-Reply-To: <CAA4eK1JbYeFJZ1Hj4aRgHfiyy7KX5equNcegJc6wWoTYxZqLsA@mail.gmail.com>
References: <20140904051356.2926.42797@wrigleys.postgresql.org>
	<CAA4eK1JOajg2Rt7pQyE7rq31e4ESzzCfcjHpG2LdGim-y9zB=g@mail.gmail.com>
	<20140904191456.GW16422@tamriel.snowman.net>
	<CAA4eK1JfX-oQbXvDd03-b2Ex-maqJZOsdLgzDa91TOr8sH0w=Q@mail.gmail.com>
	<541BAECC.9020507@2ndquadrant.com>
	<CAA4eK1JbYeFJZ1Hj4aRgHfiyy7KX5equNcegJc6wWoTYxZqLsA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 2014-09-19 12:50:24 +0530, Amit Kapila wrote:
> On Fri, Sep 19, 2014 at 9:49 AM, Craig Ringer <craig@2ndquadrant.com> 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



view thread (13+ messages)  latest in thread

Message-ID: <20140919073525.GB4277@alap3.anarazel.de>
Permalink:  ../20140919073525.GB4277@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20140919073525.GB4277@alap3.anarazel.de

 · 

reply

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: andres@2ndquadrant.com, amit.kapila16@gmail.com, craig@2ndquadrant.com, sfrost@snowman.net, katsumata.tomonari@po.ntts.co.jp
  Subject: Re: BUG #11350: ALTER SYSTEM is not DDL?
  In-Reply-To: <20140919073525.GB4277@alap3.anarazel.de>
  References: <20140904051356.2926.42797@wrigleys.postgresql.org> <CAA4eK1JOajg2Rt7pQyE7rq31e4ESzzCfcjHpG2LdGim-y9zB=g@mail.gmail.com> <20140904191456.GW16422@tamriel.snowman.net> <CAA4eK1JfX-oQbXvDd03-b2Ex-maqJZOsdLgzDa91TOr8sH0w=Q@mail.gmail.com> <541BAECC.9020507@2ndquadrant.com> <CAA4eK1JbYeFJZ1Hj4aRgHfiyy7KX5equNcegJc6wWoTYxZqLsA@mail.gmail.com> <20140919073525.GB4277@alap3.anarazel.de>

* 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