Re: Auditing extension for PostgreSQL (Take 2) - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Auditing extension for PostgreSQL (Take 2)
Date
Msg-id 20150323181724.GG3636@alvh.no-ip.org
Whole thread Raw
In response to Re: Auditing extension for PostgreSQL (Take 2)  (Sawada Masahiko <sawada.mshk@gmail.com>)
Responses Re: Auditing extension for PostgreSQL (Take 2)
List pgsql-hackers
Sawada Masahiko wrote:

> I tied to look into latest patch, but got following error.
> 
> masahiko [pg_audit] $ LANG=C make
> gcc -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels
> -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing
> -fwrapv -g -fpic -I. -I. -I../../src/include -D_GNU_SOURCE   -c -o
> pg_audit.o pg_audit.c
> pg_audit.c: In function 'log_audit_event':
> pg_audit.c:456: warning: ISO C90 forbids mixed declarations and code
> pg_audit.c: In function 'pg_audit_ddl_command_end':
> pg_audit.c:1436: error: 'pg_event_trigger_expand_command' undeclared
> (first use in this function)

You need to apply my deparsing patch first, last version of which I
posted here:
https://www.postgresql.org/message-id/20150316234406.GH3636@alvh.no-ip.org

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: logical column ordering
Next
From: Fabien COELHO
Date:
Subject: Re: PATCH: pgbench - merging transaction logs