Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite429c3c

Browse files
committed
Move isolation test index-killtuples to src/test/modules/index/
index-killtuples test depends on the contrib modules btree_gin andbtree_gist, which would not be installed in a temporary installationwith an execution of the main isolation test suite like this one:make -C src/test/isolation/ checksrc/test/isolation/ should not depend on contrib/, and EXTRA_INSTALL hasno effect in this case as this test suite uses its own Makefile rules.This commit moves index-killtuples into its new module, called "index",whose name looks like the best fit there can be as it depends on morethan one index AM. btree_gin and btree_gist are now pulled in thetemporary installation with EXTRA_INSTALL. The test is renamed to"killtuples", for simplicity.Author: Nazir Bilal Yavuz <byavuz81@gmail.com>Suggested-by: Andres Freund <andres@anarazel.de>Suggested-by: Michael Paquier <michael@paquier.xyz>Discussion:https://postgr.es/m/aKJsWedftW7UX1WM@paquier.xyz
1 parentd4c0f91 commite429c3c

File tree

8 files changed

+36
-1
lines changed

8 files changed

+36
-1
lines changed

‎src/test/isolation/isolation_schedule‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ test: ri-trigger
1616
test: partial-index
1717
test: two-ids
1818
test: multiple-row-versions
19-
test: index-killtuples
2019
test: index-only-scan
2120
test: index-only-bitmapscan
2221
test: predicate-lock-hot-tuple

‎src/test/modules/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ SUBDIRS = \
1010
delay_execution\
1111
dummy_index_am\
1212
dummy_seclabel\
13+
index\
1314
libpq_pipeline\
1415
oauth_validator\
1516
plsample\

‎src/test/modules/index/.gitignore‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Generated subdirectories
2+
/log/
3+
/results/
4+
/output_iso/
5+
/tmp_check/
6+
/tmp_check_iso/

‎src/test/modules/index/Makefile‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# src/test/modules/index/Makefile
2+
3+
EXTRA_INSTALL = contrib/btree_gin contrib/btree_gist
4+
5+
ISOLATION = killtuples
6+
7+
ifdefUSE_PGXS
8+
PG_CONFIG = pg_config
9+
PGXS :=$(shell$(PG_CONFIG) --pgxs)
10+
include$(PGXS)
11+
else
12+
subdir = src/test/modules/index
13+
top_builddir = ../../../..
14+
include$(top_builddir)/src/Makefile.global
15+
include$(top_srcdir)/contrib/contrib-global.mk
16+
endif

‎src/test/modules/index/meson.build‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Copyright (c) 2025, PostgreSQL Global Development Group
2+
3+
tests+= {
4+
'name':'index',
5+
'sd':meson.current_source_dir(),
6+
'bd':meson.current_build_dir(),
7+
'isolation': {
8+
'specs': [
9+
'killtuples',
10+
],
11+
},
12+
}

‎src/test/modules/meson.build‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ subdir('delay_execution')
66
subdir('dummy_index_am')
77
subdir('dummy_seclabel')
88
subdir('gin')
9+
subdir('index')
910
subdir('injection_points')
1011
subdir('ldap_password_func')
1112
subdir('libpq_pipeline')

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp