|
448 | 448 | }, |
449 | 449 |
|
450 | 450 | 'ALTER COLLATION test0 OWNER TO' => { |
451 | | - regexp => qr/^\QALTER COLLATION public.test0 OWNER TO \E.*;/m, |
| 451 | + regexp => qr/^\QALTER COLLATION public.test0 OWNER TO \E.+;/m, |
452 | 452 | collation => 1, |
453 | 453 | like => { %full_runs, section_pre_data => 1, }, |
454 | 454 | unlike => { %dump_test_schema_runs, no_owner => 1, }, |
455 | 455 | }, |
456 | 456 |
|
457 | 457 | 'ALTER FOREIGN DATA WRAPPER dummy OWNER TO' => { |
458 | | - regexp => qr/^ALTER FOREIGN DATA WRAPPER dummy OWNER TO .*;/m, |
| 458 | + regexp => qr/^ALTER FOREIGN DATA WRAPPER dummy OWNER TO .+;/m, |
459 | 459 | like => { %full_runs, section_pre_data => 1, }, |
460 | 460 | unlike => { no_owner => 1, }, |
461 | 461 | }, |
462 | 462 |
|
463 | 463 | 'ALTER SERVER s1 OWNER TO' => { |
464 | | - regexp => qr/^ALTER SERVER s1 OWNER TO .*;/m, |
| 464 | + regexp => qr/^ALTER SERVER s1 OWNER TO .+;/m, |
465 | 465 | like => { %full_runs, section_pre_data => 1, }, |
466 | 466 | unlike => { no_owner => 1, }, |
467 | 467 | }, |
|
470 | 470 | regexp => qr/^ |
471 | 471 | \QALTER FUNCTION dump_test.pltestlang_call_handler() \E |
472 | 472 | \QOWNER TO \E |
473 | | - .*;/xm, |
| 473 | + .+;/xm, |
474 | 474 | like => |
475 | 475 | { %full_runs, %dump_test_schema_runs, section_pre_data => 1, }, |
476 | 476 | unlike => { |
|
483 | 483 | regexp => qr/^ |
484 | 484 | \QALTER OPERATOR FAMILY dump_test.op_family USING btree \E |
485 | 485 | \QOWNER TO \E |
486 | | - .*;/xm, |
| 486 | + .+;/xm, |
487 | 487 | like => |
488 | 488 | { %full_runs, %dump_test_schema_runs, section_pre_data => 1, }, |
489 | 489 | unlike => { |
|
522 | 522 | regexp => qr/^ |
523 | 523 | \QALTER OPERATOR CLASS dump_test.op_class USING btree \E |
524 | 524 | \QOWNER TO \E |
525 | | - .*;/xm, |
| 525 | + .+;/xm, |
526 | 526 | like => |
527 | 527 | { %full_runs, %dump_test_schema_runs, section_pre_data => 1, }, |
528 | 528 | unlike => { |
|
532 | 532 | }, |
533 | 533 |
|
534 | 534 | 'ALTER PUBLICATION pub1 OWNER TO' => { |
535 | | - regexp => qr/^ALTER PUBLICATION pub1 OWNER TO .*;/m, |
| 535 | + regexp => qr/^ALTER PUBLICATION pub1 OWNER TO .+;/m, |
536 | 536 | like => { %full_runs, section_post_data => 1, }, |
537 | 537 | unlike => { no_owner => 1, }, |
538 | 538 | }, |
539 | 539 |
|
540 | 540 | 'ALTER LARGE OBJECT ... OWNER TO' => { |
541 | | - regexp => qr/^ALTER LARGE OBJECT \d+ OWNER TO .*;/m, |
| 541 | + regexp => qr/^ALTER LARGE OBJECT \d+ OWNER TO .+;/m, |
542 | 542 | like => { |
543 | 543 | %full_runs, |
544 | 544 | column_inserts => 1, |
|
554 | 554 | }, |
555 | 555 |
|
556 | 556 | 'ALTER PROCEDURAL LANGUAGE pltestlang OWNER TO' => { |
557 | | - regexp => qr/^ALTER PROCEDURAL LANGUAGE pltestlang OWNER TO .*;/m, |
| 557 | + regexp => qr/^ALTER PROCEDURAL LANGUAGE pltestlang OWNER TO .+;/m, |
558 | 558 | like => { %full_runs, section_pre_data => 1, }, |
559 | 559 | unlike => { no_owner => 1, }, |
560 | 560 | }, |
561 | 561 |
|
562 | 562 | 'ALTER SCHEMA dump_test OWNER TO' => { |
563 | | - regexp => qr/^ALTER SCHEMA dump_test OWNER TO .*;/m, |
| 563 | + regexp => qr/^ALTER SCHEMA dump_test OWNER TO .+;/m, |
564 | 564 | like => |
565 | 565 | { %full_runs, %dump_test_schema_runs, section_pre_data => 1, }, |
566 | 566 | unlike => { |
|
570 | 570 | }, |
571 | 571 |
|
572 | 572 | 'ALTER SCHEMA dump_test_second_schema OWNER TO' => { |
573 | | - regexp => qr/^ALTER SCHEMA dump_test_second_schema OWNER TO .*;/m, |
| 573 | + regexp => qr/^ALTER SCHEMA dump_test_second_schema OWNER TO .+;/m, |
574 | 574 | like => { |
575 | 575 | %full_runs, |
576 | 576 | role => 1, |
|
757 | 757 | }, |
758 | 758 |
|
759 | 759 | 'ALTER TABLE test_table OWNER TO' => { |
760 | | - regexp => qr/^\QALTER TABLE dump_test.test_table OWNER TO \E.*;/m, |
| 760 | + regexp => qr/^\QALTER TABLE dump_test.test_table OWNER TO \E.+;/m, |
761 | 761 | like => { |
762 | 762 | %full_runs, |
763 | 763 | %dump_test_schema_runs, |
|
790 | 790 | }, |
791 | 791 |
|
792 | 792 | 'ALTER TABLE test_second_table OWNER TO' => { |
793 | | - regexp => qr/^\QALTER TABLE dump_test.test_second_table OWNER TO \E.*;/m, |
| 793 | + regexp => qr/^\QALTER TABLE dump_test.test_second_table OWNER TO \E.+;/m, |
794 | 794 | like => |
795 | 795 | { %full_runs, %dump_test_schema_runs, section_pre_data => 1, }, |
796 | 796 | unlike => { |
|
800 | 800 | }, |
801 | 801 |
|
802 | 802 | 'ALTER TABLE measurement OWNER TO' => { |
803 | | - regexp => qr/^\QALTER TABLE dump_test.measurement OWNER TO \E.*;/m, |
| 803 | + regexp => qr/^\QALTER TABLE dump_test.measurement OWNER TO \E.+;/m, |
804 | 804 | like => |
805 | 805 | { %full_runs, %dump_test_schema_runs, section_pre_data => 1, }, |
806 | 806 | unlike => { |
|
811 | 811 |
|
812 | 812 | 'ALTER TABLE measurement_y2006m2 OWNER TO' => { |
813 | 813 | regexp => |
814 | | - qr/^\QALTER TABLE dump_test_second_schema.measurement_y2006m2 OWNER TO \E.*;/m, |
| 814 | + qr/^\QALTER TABLE dump_test_second_schema.measurement_y2006m2 OWNER TO \E.+;/m, |
815 | 815 | like => { |
816 | 816 | %full_runs, |
817 | 817 | role => 1, |
|
822 | 822 |
|
823 | 823 | 'ALTER FOREIGN TABLE foreign_table OWNER TO' => { |
824 | 824 | regexp => |
825 | | - qr/^\QALTER FOREIGN TABLE dump_test.foreign_table OWNER TO \E.*;/m, |
| 825 | + qr/^\QALTER FOREIGN TABLE dump_test.foreign_table OWNER TO \E.+;/m, |
826 | 826 | like => |
827 | 827 | { %full_runs, %dump_test_schema_runs, section_pre_data => 1, }, |
828 | 828 | unlike => { |
|
833 | 833 |
|
834 | 834 | 'ALTER TEXT SEARCH CONFIGURATION alt_ts_conf1 OWNER TO' => { |
835 | 835 | regexp => |
836 | | - qr/^\QALTER TEXT SEARCH CONFIGURATION dump_test.alt_ts_conf1 OWNER TO \E.*;/m, |
| 836 | + qr/^\QALTER TEXT SEARCH CONFIGURATION dump_test.alt_ts_conf1 OWNER TO \E.+;/m, |
837 | 837 | like => |
838 | 838 | { %full_runs, %dump_test_schema_runs, section_pre_data => 1, }, |
839 | 839 | unlike => { |
|
844 | 844 |
|
845 | 845 | 'ALTER TEXT SEARCH DICTIONARY alt_ts_dict1 OWNER TO' => { |
846 | 846 | regexp => |
847 | | - qr/^\QALTER TEXT SEARCH DICTIONARY dump_test.alt_ts_dict1 OWNER TO \E.*;/m, |
| 847 | + qr/^\QALTER TEXT SEARCH DICTIONARY dump_test.alt_ts_dict1 OWNER TO \E.+;/m, |
848 | 848 | like => |
849 | 849 | { %full_runs, %dump_test_schema_runs, section_pre_data => 1, }, |
850 | 850 | unlike => { |
|
895 | 895 | }, |
896 | 896 |
|
897 | 897 | 'COMMENT ON DATABASE postgres' => { |
898 | | - regexp => qr/^COMMENT ON DATABASE postgres IS .*;/m, |
| 898 | + regexp => qr/^COMMENT ON DATABASE postgres IS .+;/m, |
899 | 899 |
|
900 | 900 | # Should appear in the same tests as "CREATE DATABASE postgres" |
901 | 901 | like => { createdb => 1, }, |
902 | 902 | }, |
903 | 903 |
|
904 | 904 | 'COMMENT ON EXTENSION plpgsql' => { |
905 | | - regexp => qr/^COMMENT ON EXTENSION plpgsql IS .*;/m, |
| 905 | + regexp => qr/^COMMENT ON EXTENSION plpgsql IS .+;/m, |
906 | 906 |
|
907 | 907 | # this shouldn't ever get emitted anymore |
908 | 908 | like => {}, |
|
1353 | 1353 | 'CREATE DATABASE postgres' => { |
1354 | 1354 | regexp => qr/^ |
1355 | 1355 | \QCREATE DATABASE postgres WITH TEMPLATE = template0 \E |
1356 | | - .*;/xm, |
| 1356 | + .+;/xm, |
1357 | 1357 | like => { createdb => 1, }, |
1358 | 1358 | }, |
1359 | 1359 |
|
|
1362 | 1362 | create_sql => 'CREATE DATABASE dump_test;', |
1363 | 1363 | regexp => qr/^ |
1364 | 1364 | \QCREATE DATABASE dump_test WITH TEMPLATE = template0 \E |
1365 | | - .*;/xm, |
| 1365 | + .+;/xm, |
1366 | 1366 | like => { pg_dumpall_dbprivs => 1, }, |
1367 | 1367 | }, |
1368 | 1368 |
|
|
2651 | 2651 |
|
2652 | 2652 | 'DROP ROLE pg_' => { |
2653 | 2653 | regexp => qr/^ |
2654 | | - \QDROP ROLE pg_\E.*; |
| 2654 | + \QDROP ROLE pg_\E.+; |
2655 | 2655 | /xm, |
2656 | 2656 |
|
2657 | 2657 | # this shouldn't ever get emitted anywhere |
|
0 commit comments