Skip to content

Commit a936743

Browse files
committed
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.
1 parent 3b075e9 commit a936743

File tree

4 files changed

+7
-13
lines changed

4 files changed

+7
-13
lines changed

contrib/pg_audit/Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# pg_audit/Makefile
1+
# contrib/pg_audit/Makefile
22

3-
MODULE = pg_audit
43
MODULE_big = pg_audit
5-
OBJS = pg_audit.o
4+
OBJS = pg_audit.o $(WIN32RES)
65

76
EXTENSION = pg_audit
7+
DATA = pg_audit--1.0.sql
8+
PGFILEDESC = "pg_audit - An audit logging extension for PostgreSQL"
9+
810
REGRESS = pg_audit
9-
REGRESS_OPTS =
10-
DATA = pg_audit--1.0.0.sql
1111

1212
ifdef USE_PGXS
1313
PG_CONFIG = pg_config

contrib/pg_audit/pg_audit--1.0.0.sql renamed to contrib/pg_audit/pg_audit--1.0.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* pg_audit/pg_audit--1.0.0.sql */
1+
/* pg_audit/pg_audit--1.0.sql */
22

33
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
44
\echo Use "CREATE EXTENSION pg_audit" to load this file.\quit

contrib/pg_audit/pg_audit.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -540,12 +540,6 @@ log_audit_event(AuditEventStackItem *stackItem)
540540
class = LOG_READ;
541541
break;
542542

543-
/* Reindex is DDL (because cluster is DDL) */
544-
case T_ReindexStmt:
545-
className = CLASS_DDL;
546-
class = LOG_DDL;
547-
break;
548-
549543
/* FUNCTION statements */
550544
case T_DoStmt:
551545
className = CLASS_FUNCTION;

contrib/pg_audit/pg_audit.control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# pg_audit extension
22
comment = 'provides auditing functionality'
3-
default_version = '1.0.0'
3+
default_version = '1.0'
44
module_pathname = '$libdir/pg_audit'
55
relocatable = true

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy