mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-03 21:57:20 +02:00
Also, use a function to load the extension ahead of all other calls, simulating load from shared_libraries_preload, to make sure the hooks are in place before logging start.
22 lines
403 B
Makefile
22 lines
403 B
Makefile
# pg_audit/Makefile
|
|
|
|
MODULE = pg_audit
|
|
MODULE_big = pg_audit
|
|
OBJS = pg_audit.o
|
|
|
|
EXTENSION = pg_audit
|
|
REGRESS = pg_audit
|
|
REGRESS_OPTS =
|
|
DATA = pg_audit--1.0.0.sql
|
|
|
|
ifdef USE_PGXS
|
|
PG_CONFIG = pg_config
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
include $(PGXS)
|
|
else
|
|
subdir = contrib/pg_audit
|
|
top_builddir = ../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
endif
|