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

Commit154e5f5

Browse files
committed
[PGPRO-11597] Redesigned the launch of isolation tests
"CREATE/DROP EXTENSION" has been removed from spec.Instead, the "ISOLATION_OPTS" variable is used.Tags: pg_query_state
1 parent0c6e36a commit154e5f5

File tree

4 files changed

+3
-13
lines changed

4 files changed

+3
-13
lines changed

‎.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,11 @@ env:
3333
-PG_VERSION=13
3434
-PG_VERSION=12 LEVEL=hardcore USE_TPCDS=1
3535
-PG_VERSION=12
36-
-PG_VERSION=11
3736
-PG_VERSION=10
3837
-PG_VERSION=9.6
3938

4039
matrix:
4140
allow_failures:
4241
-env:PG_VERSION=13 LEVEL=hardcore USE_TPCDS=1
43-
-env:PG_VERSION=11
4442
-env:PG_VERSION=10
4543
-env:PG_VERSION=9.6

‎Makefile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,8 @@ EXTRA_CLEAN = ./isolation_output $(EXTENSION)--$(EXTVERSION).sql \
1313
Dockerfile ./tests/*.pyc ./tmp_stress
1414

1515
ISOLATION = corner_cases
16-
#
17-
# PG11 doesn't support ISOLATION_OPTS variable. We have to use
18-
# "CREATE/DROP EXTENTION" command in spec.
19-
#
20-
# One day, when we'll get rid of PG11, it will be possible to uncomment this
21-
# variable and remove "CREATE EXTENTION" from spec.
22-
#
23-
# ISOLATION_OPTS = --load-extension=pg_query_state
16+
17+
ISOLATION_OPTS = --load-extension=pg_query_state
2418

2519
ifdefUSE_PGXS
2620
PG_CONFIG ?= pg_config

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To install `pg_query_state`, please apply corresponding patches `custom_signal_(
2020
To do this, run the following commands from the postgresql directory:
2121
```
2222
patch -p1 < path_to_pg_query_state_folder/patches/runtime_explain_(PG_VERSION).patch
23-
patch -p1 < path_to_pg_query_state_folder/patches/custom_signal_(PG_VERSION).patch
23+
patch -p1 < path_to_pg_query_state_folder/patches/custom_signals_(PG_VERSION).patch
2424
```
2525

2626
Then execute this in the module's directory:

‎specs/corner_cases.spec

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
setup
22
{
3-
CREATEEXTENSIONpg_query_state;
43
CREATEROLEalice;
54
CREATEROLEbob;
65
CREATEROLEsuperSUPERUSER;
@@ -31,7 +30,6 @@ teardown
3130
DROPROLEsuper;
3231
DROPROLEbob;
3332
DROPROLEalice;
34-
DROPEXTENSIONpg_query_state;
3533
}
3634

3735
session"s1"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp