File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 2368
2368
},
2369
2369
},
2370
2370
2371
+ 'Creation of row-level trigger in partitioned table' => {
2372
+ create_order => 92,
2373
+ create_sql => 'CREATE TRIGGER test_trigger
2374
+ AFTER INSERT ON dump_test.measurement
2375
+ FOR EACH ROW EXECUTE PROCEDURE dump_test.trigger_func()',
2376
+ regexp => qr/^
2377
+ \Q CREATE TRIGGER test_trigger AFTER INSERT ON dump_test.measurement \E
2378
+ \Q FOR EACH ROW \E
2379
+ \Q EXECUTE FUNCTION dump_test.trigger_func();\E
2380
+ /xm,
2381
+ like => {
2382
+ %full_runs , %dump_test_schema_runs , section_post_data => 1,
2383
+ },
2384
+ unlike => {
2385
+ exclude_dump_test_schema => 1,
2386
+ },
2387
+ },
2388
+
2389
+ # this shouldn't ever get emitted
2390
+ 'Creation of row-level trigger in partition' => {
2391
+ regexp => qr/^
2392
+ \Q CREATE TRIGGER test_trigger AFTER INSERT ON dump_test_second_schema.measurement\E
2393
+ /xm,
2394
+ like => {},
2395
+ },
2396
+
2371
2397
'CREATE TABLE test_fourth_table_zero_col' => {
2372
2398
create_order => 6,
2373
2399
create_sql => 'CREATE TABLE dump_test.test_fourth_table (
You can’t perform that action at this time.
0 commit comments