Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YtDVe-00032A-Ks for pgsql-committers@arkaria.postgresql.org; Fri, 15 May 2015 11:10:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YtDVd-0000t0-KJ for pgsql-committers@arkaria.postgresql.org; Fri, 15 May 2015 11:10:29 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YtDVc-0000ss-Ic for pgsql-committers@postgresql.org; Fri, 15 May 2015 11:10:28 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1YtDVV-0006s2-Jh for pgsql-committers@postgresql.org; Fri, 15 May 2015 11:10:26 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id E79BF5F7B2; Fri, 15 May 2015 07:10:20 -0400 (EDT) Date: Fri, 15 May 2015 07:10:20 -0400 From: Stephen Frost To: Thom Brown Cc: Pavel Stehule , Tom Lane , "pgsql-committers@postgresql.org" Subject: Re: pgsql: Add pg_audit, an auditing extension Message-ID: <20150515111020.GT30322@tamriel.snowman.net> References: <20150514161032.GA30322@tamriel.snowman.net> <4844.1431621244@sss.pgh.pa.us> <20150514163551.GB30322@tamriel.snowman.net> <5043.1431621669@sss.pgh.pa.us> <20150514192135.GK30322@tamriel.snowman.net> <20150514193028.GL30322@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="09szlqNDMK5blYkP" Content-Disposition: inline In-Reply-To: X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-46-generic (x86_64) X-Uptime: 07:07:16 up 56 days, 16:55, 10 users, load average: 0.10, 0.09, 0.09 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org --09szlqNDMK5blYkP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline * Thom Brown (thom@linux.com) wrote: > If it were empty, it would then be indistinguishable from a statement > executed with a single parameter passed as an empty string. NULL, but yes. > Speaking of which, I notice that nulls show up as nothing too. How > does one distinguish between an empty string and a null in the logs? It should be "", to match how the COPY protocol handles it. Will take a look. Thanks! Stephen --09szlqNDMK5blYkP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJVVdQcAAoJEO1sijiDR2RV8eQP/i7yTOR+GiL7NeqMrVpnLM87 +VAdyplNCF1qzRE3gTySEt9JI09F5dp6Zopb+1Wa2qDsNDApkA17R47aHMwPhBEh jYPiNsQt383/NgSeYLcVeRR78CfD9UWlD3ZXP9TLNYnYjjL9kZ5YkjpfNuAwOt9o JTpNSSngynK3zkV8y4Oyt6gmrEcEoxcSi4vBwvBBeUjKg2e1dMCfmihFYxJCs4MF L88kT08iWG+DLwBZsXHJAUTcWkNyB+lIhPnA/5nHWSK47ppzsDh/5/h74PPkt+E8 mMuMpApnoZ9cPKLw8bDHU/YTDgHPhKMgAxkfAoW/eN5LWYB7obqMm7aHnHGCKGmw My8HfLuXCNMdUGCBm8BMQfIz4o6MS9lpZgSfLiCdxH+PN8D7lbrwPff1eHpYHCHB OzfrFHWWKY+v6LGzGZ/rjtl/Y1SX63NGxf6Hc4axLC810B7ynzhsM1zdEPDVnq3d 70G+jXT4/kX5bM0zlFX9DDI3NIeFV8pkayWqM6sNboNp0eximFw5Fp9c6VH3y9yC kjepAuzz6Oii8YQR2kYFFlFXiris7NNNV21MUSK8UaA6yRB0+X0tjJ6HCgrVkG/6 VtjHf2NVESA2EySUhwwFQOfS4zr2QJv0TlChzRP5r4FkkH2edieVPuZ0hMLFYvK9 I3Y31kjT1LLvx91LZsMc =vMmB -----END PGP SIGNATURE----- --09szlqNDMK5blYkP--