mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-24 18:55:04 +08:00
1f92630fc4
on CORE previously. This module offers transaction ID's containing the original XID and the transaction epoch as a bigint value to the user level. It also provides a special txid_snapshot data type that contains an entire transactions visibility snapshot information, which is useful to determine if a particular txid was visible to a transaction or not. The module has been tested by porting Slony-I from using its original xxid data type. Jan
27 lines
443 B
Makefile
27 lines
443 B
Makefile
|
|
MODULES = txid
|
|
DATA_built = txid.sql
|
|
DATA = uninstall_txid.sql
|
|
DOCS = README.txid
|
|
REGRESS = txid
|
|
|
|
|
|
ifdef USE_PGXS
|
|
PG_CONFIG = pg_config
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
include $(PGXS)
|
|
else
|
|
subdir = contrib/txid
|
|
top_builddir = ../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
endif
|
|
|
|
|
|
test: install
|
|
$(MAKE) installcheck || { less regression.diffs; exit 1; }
|
|
|
|
ack:
|
|
cp results/* expected/
|
|
|