pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephen Frost <sfrost@snowman.net>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Add pg_audit, an auditing extension
Date: Thu, 14 May 2015 13:07:58 -0400
Message-ID: <5654.1431623278@sss.pgh.pa.us> (raw)
In-Reply-To: <20150514164330.GD30322@tamriel.snowman.net>
References: <20150514144833.GW30322@tamriel.snowman.net>
	<20267.1431615541@sss.pgh.pa.us>
	<20150514150047.GX30322@tamriel.snowman.net>
	<20458.1431615970@sss.pgh.pa.us>
	<20150514154619.GY30322@tamriel.snowman.net>
	<21368.1431618712@sss.pgh.pa.us>
	<20150514161032.GA30322@tamriel.snowman.net>
	<4844.1431621244@sss.pgh.pa.us>
	<20150514163551.GB30322@tamriel.snowman.net>
	<5043.1431621669@sss.pgh.pa.us>
	<20150514164330.GD30322@tamriel.snowman.net>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Stephen Frost <sfrost@snowman.net> writes:
> * Tom Lane (tgl@sss.pgh.pa.us) wrote:
>> There are several more crashes in the BF now.  They're not at initial
>> library load AFAICS.  Hard to tell if it's platform-specific or just
>> randomly fails sometimes.  Have you tried valgrind to see if there's
>> uninitialized-memory touches?

> Will give that a shot and see what it says.

At least on dromedary, this seems to be the problem:

pg_audit.c: In function 'stack_pop':
pg_audit.c:387: warning: format '%ld' expects type 'long int', but argument 3 has type 'int64'
pg_audit.c: In function 'stack_valid':
pg_audit.c:406: warning: format '%ld' expects type 'long int', but argument 3 has type 'int64'
pg_audit.c:406: warning: format '%ld' expects type 'long int', but argument 4 has type 'int64'
pg_audit.c: In function 'log_audit_event':
pg_audit.c:676: warning: format '%ld' expects type 'long int', but argument 4 has type 'int64'
pg_audit.c:676: warning: format '%ld' expects type 'long int', but argument 5 has type 'int64'

Will push a fix shortly and we'll see what happens.

			regards, tom lane


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



view thread (69+ messages)  latest in thread

Message-ID: <5654.1431623278@sss.pgh.pa.us>
Permalink:  ../5654.1431623278@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5654.1431623278@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, sfrost@snowman.net
  Subject: Re: pgsql: Add pg_audit, an auditing extension
  In-Reply-To: <5654.1431623278@sss.pgh.pa.us>
  References: <20150514144833.GW30322@tamriel.snowman.net> <20267.1431615541@sss.pgh.pa.us> <20150514150047.GX30322@tamriel.snowman.net> <20458.1431615970@sss.pgh.pa.us> <20150514154619.GY30322@tamriel.snowman.net> <21368.1431618712@sss.pgh.pa.us> <20150514161032.GA30322@tamriel.snowman.net> <4844.1431621244@sss.pgh.pa.us> <20150514163551.GB30322@tamriel.snowman.net> <5043.1431621669@sss.pgh.pa.us> <20150514164330.GD30322@tamriel.snowman.net> <5654.1431623278@sss.pgh.pa.us>

* 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