Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7afd420

Browse files
committed
[test] [refer #PGPRO-2887] Just a copy of the inherit-temp test for global temp tables.
1 parent a26b153 commit 7afd420

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
@@ -85,3 +85,4 @@ test: plpgsql-toast
8585
test: truncate-conflict
8686
test: serializable-parallel
8787
test: serializable-parallel-2
88+
test: inherit-global-temp

0 commit comments

Comments
 (0)