mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-11 04:16:53 +02:00
99f2f3c19a
For reasons of sheer brain fade, we (I) was calling systable_endscan() immediately after systable_getnext() and expecting the tuple returned by systable_getnext() to still be valid. That's clearly wrong. Move the systable_endscan() down below the tuple usage. Discovered initially by Pavel Stehule and then also by Alvaro. Add a regression test based on Alvaro's testing.
24 lines
746 B
Makefile
24 lines
746 B
Makefile
# src/test/modules/test_extensions/Makefile
|
|
|
|
MODULE = test_extensions
|
|
PGFILEDESC = "test_extensions - regression testing for EXTENSION support"
|
|
|
|
EXTENSION = test_ext1 test_ext2 test_ext3 test_ext4 test_ext5 test_ext6 \
|
|
test_ext_cyclic1 test_ext_cyclic2
|
|
DATA = test_ext1--1.0.sql test_ext2--1.0.sql test_ext3--1.0.sql \
|
|
test_ext4--1.0.sql test_ext5--1.0.sql test_ext6--1.0.sql \
|
|
test_ext_cyclic1--1.0.sql test_ext_cyclic2--1.0.sql
|
|
|
|
REGRESS = test_extensions test_extdepend
|
|
|
|
ifdef USE_PGXS
|
|
PG_CONFIG = pg_config
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
|
include $(PGXS)
|
|
else
|
|
subdir = src/test/modules/test_extensions
|
|
top_builddir = ../../../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
endif
|