2014-11-30 03:55:00 +01:00
|
|
|
# src/test/modules/Makefile
|
|
|
|
|
|
|
|
subdir = src/test/modules
|
|
|
|
top_builddir = ../../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
|
|
|
|
SUBDIRS = \
|
Keep track of transaction commit timestamps
Transactions can now set their commit timestamp directly as they commit,
or an external transaction commit timestamp can be fed from an outside
system using the new function TransactionTreeSetCommitTsData(). This
data is crash-safe, and truncated at Xid freeze point, same as pg_clog.
This module is disabled by default because it causes a performance hit,
but can be enabled in postgresql.conf requiring only a server restart.
A new test in src/test/modules is included.
Catalog version bumped due to the new subdirectory within PGDATA and a
couple of new SQL functions.
Authors: Álvaro Herrera and Petr Jelínek
Reviewed to varying degrees by Michael Paquier, Andres Freund, Robert
Haas, Amit Kapila, Fujii Masao, Jaime Casanova, Simon Riggs, Steven
Singer, Peter Eisentraut
2014-12-03 15:53:02 +01:00
|
|
|
commit_ts \
|
2014-11-30 03:55:00 +01:00
|
|
|
worker_spi \
|
|
|
|
dummy_seclabel \
|
|
|
|
test_shm_mq \
|
|
|
|
test_parser
|
|
|
|
|
Install kludges to fix check-world for src/test/modules
check-world failed in a completely clean tree, because src/test/modules
fail to build unless errcodes.h is generated first. To fix this,
install a dependency in src/test/modules' Makefile so that the necessary
file is generated. Even with this, running "make check" within
individual module subdirs will still fail because the dependency is not
considered there, but this case is less interesting and would be messier
to fix.
check-world still failed with the above fix in place, this time because
dummy_seclabel used LOAD to load the dynamic library, which doesn't work
because the @libdir@ (expanded by the makefile) is expanded to the final
install path, not the temporary installation directory used by make
check. To fix, tweak things so that CREATE EXTENSION can be used
instead, which solves the problem because the library path is expanded
by the backend, which is aware of the true libdir.
2014-12-03 03:43:53 +01:00
|
|
|
all: submake-errcodes
|
|
|
|
|
|
|
|
submake-errcodes:
|
|
|
|
$(MAKE) -C $(top_builddir)/src/backend submake-errcodes
|
|
|
|
|
2014-11-30 03:55:00 +01:00
|
|
|
$(recurse)
|