pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Thom Brown <thom@linux.com>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@postgresql.org <pgsql-committers@postgresql.org>
Subject: Re: pgsql: Add pg_audit, an auditing extension
Date: Fri, 15 May 2015 07:10:20 -0400
Message-ID: <20150515111020.GT30322@tamriel.snowman.net> (raw)
In-Reply-To: <CAA-aLv6KExNp+fZHr0eYVXie08qGu-_8cP9Ea7Doj_a8pRTGSg@mail.gmail.com>
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>
	<CAFj8pRDr4oUGjxevhy2UWneofuXxxPq-uekrY6jsHtgsUhZh_w@mail.gmail.com>
	<CAA-aLv5aFBfSVueecWUq=pLz6qU2Ms2XWwip9H_HUchP3o56Lg@mail.gmail.com>
	<CAFj8pRDVF113+NFVxP5j54hx85Fi5MF0y+Q3xqn_Rh=C_8TitQ@mail.gmail.com>
	<CAA-aLv6KExNp+fZHr0eYVXie08qGu-_8cP9Ea7Doj_a8pRTGSg@mail.gmail.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

* 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

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (69+ messages)  latest in thread

Message-ID: <20150515111020.GT30322@tamriel.snowman.net>
Permalink:  ../20150515111020.GT30322@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20150515111020.GT30322@tamriel.snowman.net

 · 

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-committers@postgresql.org
  Cc: sfrost@snowman.net, thom@linux.com, pavel.stehule@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Add pg_audit, an auditing extension
  In-Reply-To: <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> <CAFj8pRDr4oUGjxevhy2UWneofuXxxPq-uekrY6jsHtgsUhZh_w@mail.gmail.com> <CAA-aLv5aFBfSVueecWUq=pLz6qU2Ms2XWwip9H_HUchP3o56Lg@mail.gmail.com> <CAFj8pRDVF113+NFVxP5j54hx85Fi5MF0y+Q3xqn_Rh=C_8TitQ@mail.gmail.com> <CAA-aLv6KExNp+fZHr0eYVXie08qGu-_8cP9Ea7Doj_a8pRTGSg@mail.gmail.com> <20150515111020.GT30322@tamriel.snowman.net>

* 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