Skip to content

Commit 69910cd

Browse files
rzharkovknizhnik
authored andcommitted
[test] [refer #PGPRO-2887] Just a copy of the inherit-temp test for global temp tables.
1 parent d2e77b3 commit 69910cd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/test/isolation/expected/inherit-global-temp.out

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,10 @@ step s1_insert_c: INSERT INTO inh_global_temp_child_s1 VALUES (3), (4);
209209
step s2_insert_c: INSERT INTO inh_global_temp_child_s2 VALUES (5), (6);
210210
step s1_begin: BEGIN;
211211
step s1_truncate_p: TRUNCATE inh_global_parent;
212-
step s2_select_c: SELECT a FROM inh_global_temp_child_s2;
212+
step s2_select_c: SELECT a FROM inh_global_temp_child_s2; <waiting ...>
213+
step s1_commit: COMMIT;
214+
step s2_select_c: <... completed>
213215
a
214216

215217
5
216218
6
217-
step s1_commit: COMMIT;

src/test/isolation/isolation_schedule

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,4 @@ test: plpgsql-toast
8787
test: truncate-conflict
8888
test: serializable-parallel
8989
test: serializable-parallel-2
90+
test: inherit-global-temp

0 commit comments

Comments
 (0)