mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-03 03:56:53 +02:00
pg_audit Makefile, REINDEX changes
Clean up the Makefile, per Michael Paquier. Classify REINDEX as we do in core, use '1.0' for the version, per Fujii.
This commit is contained in:
parent
3b075e9d7b
commit
a936743b33
@ -1,13 +1,13 @@
|
|||||||
# pg_audit/Makefile
|
# contrib/pg_audit/Makefile
|
||||||
|
|
||||||
MODULE = pg_audit
|
|
||||||
MODULE_big = pg_audit
|
MODULE_big = pg_audit
|
||||||
OBJS = pg_audit.o
|
OBJS = pg_audit.o $(WIN32RES)
|
||||||
|
|
||||||
EXTENSION = pg_audit
|
EXTENSION = pg_audit
|
||||||
|
DATA = pg_audit--1.0.sql
|
||||||
|
PGFILEDESC = "pg_audit - An audit logging extension for PostgreSQL"
|
||||||
|
|
||||||
REGRESS = pg_audit
|
REGRESS = pg_audit
|
||||||
REGRESS_OPTS =
|
|
||||||
DATA = pg_audit--1.0.0.sql
|
|
||||||
|
|
||||||
ifdef USE_PGXS
|
ifdef USE_PGXS
|
||||||
PG_CONFIG = pg_config
|
PG_CONFIG = pg_config
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* pg_audit/pg_audit--1.0.0.sql */
|
/* pg_audit/pg_audit--1.0.sql */
|
||||||
|
|
||||||
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
|
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
|
||||||
\echo Use "CREATE EXTENSION pg_audit" to load this file.\quit
|
\echo Use "CREATE EXTENSION pg_audit" to load this file.\quit
|
@ -540,12 +540,6 @@ log_audit_event(AuditEventStackItem *stackItem)
|
|||||||
class = LOG_READ;
|
class = LOG_READ;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* Reindex is DDL (because cluster is DDL) */
|
|
||||||
case T_ReindexStmt:
|
|
||||||
className = CLASS_DDL;
|
|
||||||
class = LOG_DDL;
|
|
||||||
break;
|
|
||||||
|
|
||||||
/* FUNCTION statements */
|
/* FUNCTION statements */
|
||||||
case T_DoStmt:
|
case T_DoStmt:
|
||||||
className = CLASS_FUNCTION;
|
className = CLASS_FUNCTION;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# pg_audit extension
|
# pg_audit extension
|
||||||
comment = 'provides auditing functionality'
|
comment = 'provides auditing functionality'
|
||||||
default_version = '1.0.0'
|
default_version = '1.0'
|
||||||
module_pathname = '$libdir/pg_audit'
|
module_pathname = '$libdir/pg_audit'
|
||||||
relocatable = true
|
relocatable = true
|
||||||
|
Loading…
Reference in New Issue
Block a user