Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XPcUo-0006Rk-AK for pgsql-bugs@arkaria.postgresql.org; Thu, 04 Sep 2014 19:15:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XPcUn-0002NH-Me for pgsql-bugs@arkaria.postgresql.org; Thu, 04 Sep 2014 19:15:01 +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 1XPcUm-0002Kj-AW for pgsql-bugs@postgresql.org; Thu, 04 Sep 2014 19:15:00 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XPcUj-0001wN-4k for pgsql-bugs@postgresql.org; Thu, 04 Sep 2014 19:14:58 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 63B315F7E9; Thu, 4 Sep 2014 15:14:56 -0400 (EDT) Date: Thu, 4 Sep 2014 15:14:56 -0400 From: Stephen Frost To: Amit Kapila Cc: katsumata.tomonari@po.ntts.co.jp, PostgreSQL Bugs Subject: Re: BUG #11350: ALTER SYSTEM is not DDL? Message-ID: <20140904191456.GW16422@tamriel.snowman.net> References: <20140904051356.2926.42797@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="K+aa9f6bMAfttVCD" Content-Disposition: inline In-Reply-To: X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.11.0-19-generic (x86_64) X-Uptime: 15:12:05 up 149 days, 5:31, 12 users, load average: 0.01, 0.04, 0.05 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -3.5 (---) 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 --K+aa9f6bMAfttVCD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * 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 =3D ddl'. > > > > Am I missing something? >=20 > 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... Thanks, Stephen --K+aa9f6bMAfttVCD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUCLovAAoJEO1sijiDR2RV/9sQAMZ9ye7NzMSPUOBpAR8KH7sD Y458cId4D8bFg017kzTcDVfM43bzq/81umNyxd0HQ/SHbvKJfE33fLr1f29kahBI BbRmhKDdxm7Hf9Ecp2Qehu6wydfW2td9KqFAK357FVqepr3unsf0xKbrdbxshWGx H3JRURYhq5XtZEshM0BdY1x3/9zwYUHrgj+jda890wRv/kjPfRg8XIGwt8sQMDPP H+1veE2vlb7HGjPsYjVJFRyx+JQqBW/rKRf+FU7CgZseJMUrFqoOrwSK+XoWj0sU m2jEsDCGYLJ2cREER7FelxBkBtplBMMQhFqwxebJwHOr7Cx8hwDgSn9f+dior1xL DIDOAXq4GdndwQfGKcGKigsFpVxcpDteD/Uf2w8Z+vGrPpMVXBa9hYRE4OBFvTqj xncG6ky9CbCxWZv2NVLRUtNwScd8us2SFVZxNQo5o7cvLeYbJD3XG1LvQZoZ0Sdj u9kLjXuT5Gv/yXwvsU4vCUhgGbeZN7Ai2nZy2mrB6eguTHqN+iwU5E4ASwV7Vrzi A4g9KoZK6ud4PCop0bn7uW7DtwyRim+0uQP4D70BB8qxgc73dkdBxg8FBxcdYfo8 ujLXOc5NaCDmqv+g1YYqBeVI/mf+q5wAbMX8yha19MQddMDlZicqoZ9VwABJUmTp mXsyWFkt4DWuC2EZvq8E =YsZq -----END PGP SIGNATURE----- --K+aa9f6bMAfttVCD--