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

Commit684f4a0

Browse files
committed
Force synchronous_commit=on in test_decoding's concurrent_ddl_dml.spec.
Otherwise running installcheck-force on a server withsynchronous_commit=off will result in the tests failing. All the othertests already do so...Backpatch: 9.4, where logical decoding was added
1 parentbf7ced5 commit684f4a0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎contrib/test_decoding/specs/concurrent_ddl_dml.spec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ teardown
1414
}
1515

1616
session"s1"
17+
setup {SETsynchronous_commit=on; }
18+
1719
step"s1_init" {SELECT'init'FROMpg_create_logical_replication_slot('isolation_slot','test_decoding'); }
1820
step"s1_begin" {BEGIN; }
1921
step"s1_insert_tbl1" {INSERTINTOtbl1 (val1,val2)VALUES (1,1); }
@@ -23,6 +25,8 @@ step "s1_insert_tbl2_3col" { INSERT INTO tbl2 (val1, val2, val3) VALUES (1, 1, 1
2325
step"s1_commit" {COMMIT; }
2426

2527
session"s2"
28+
setup {SETsynchronous_commit=on; }
29+
2630
step"s2_alter_tbl1_float" {ALTERTABLEtbl1ALTERCOLUMNval2TYPEfloat; }
2731
step"s2_alter_tbl1_char" {ALTERTABLEtbl1ALTERCOLUMNval2TYPEcharactervarying; }
2832
step"s2_alter_tbl1_text" {ALTERTABLEtbl1ALTERCOLUMNval2TYPEtext; }

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp