|
1517 | 1517 | only_dump_test_schema=> 1, |
1518 | 1518 | only_dump_test_table=> 1, |
1519 | 1519 | role=> 1, |
| 1520 | +section_post_data=> 1, |
1520 | 1521 | test_schema_plus_blobs=> 1, }, }, |
1521 | 1522 |
|
1522 | 1523 | 'COMMENT ON EXTENSION plpgsql'=> { |
|
1545 | 1546 | only_dump_test_schema=> 1, |
1546 | 1547 | only_dump_test_table=> 1, |
1547 | 1548 | role=> 1, |
| 1549 | +section_post_data=> 1, |
1548 | 1550 | test_schema_plus_blobs=> 1, }, }, |
1549 | 1551 |
|
1550 | 1552 | 'COMMENT ON TABLE dump_test.test_table'=> { |
|
1576 | 1578 | data_only=> 1, |
1577 | 1579 | exclude_dump_test_schema=> 1, |
1578 | 1580 | exclude_test_table=> 1, |
1579 | | -role=> 1, }, }, |
| 1581 | +role=> 1, |
| 1582 | +section_post_data=> 1, }, }, |
1580 | 1583 |
|
1581 | 1584 | 'COMMENT ON COLUMN dump_test.test_table.col1'=> { |
1582 | 1585 | all_runs=> 1, |
|
1609 | 1612 | data_only=> 1, |
1610 | 1613 | exclude_dump_test_schema=> 1, |
1611 | 1614 | exclude_test_table=> 1, |
1612 | | -role=> 1, }, }, |
| 1615 | +role=> 1, |
| 1616 | +section_post_data=> 1, }, }, |
1613 | 1617 |
|
1614 | 1618 | 'COMMENT ON COLUMN dump_test.composite.f1'=> { |
1615 | 1619 | all_runs=> 1, |
|
1642 | 1646 | data_only=> 1, |
1643 | 1647 | exclude_dump_test_schema=> 1, |
1644 | 1648 | only_dump_test_table=> 1, |
1645 | | -role=> 1, }, }, |
| 1649 | +role=> 1, |
| 1650 | +section_post_data=> 1, }, }, |
1646 | 1651 |
|
1647 | 1652 | 'COMMENT ON COLUMN dump_test.test_second_table.col1'=> { |
1648 | 1653 | all_runs=> 1, |
|
1675 | 1680 | data_only=> 1, |
1676 | 1681 | exclude_dump_test_schema=> 1, |
1677 | 1682 | only_dump_test_table=> 1, |
1678 | | -role=> 1, }, }, |
| 1683 | +role=> 1, |
| 1684 | +section_post_data=> 1, }, }, |
1679 | 1685 |
|
1680 | 1686 | 'COMMENT ON COLUMN dump_test.test_second_table.col2'=> { |
1681 | 1687 | all_runs=> 1, |
|
1708 | 1714 | data_only=> 1, |
1709 | 1715 | exclude_dump_test_schema=> 1, |
1710 | 1716 | only_dump_test_table=> 1, |
1711 | | -role=> 1, }, }, |
| 1717 | +role=> 1, |
| 1718 | +section_post_data=> 1, }, }, |
1712 | 1719 |
|
1713 | 1720 | 'COMMENT ON CONVERSION dump_test.test_conversion'=> { |
1714 | 1721 | all_runs=> 1, |
|
1739 | 1746 | data_only=> 1, |
1740 | 1747 | exclude_dump_test_schema=> 1, |
1741 | 1748 | only_dump_test_table=> 1, |
1742 | | -role=> 1, }, }, |
| 1749 | +role=> 1, |
| 1750 | +section_post_data=> 1, }, }, |
1743 | 1751 |
|
1744 | 1752 | 'COMMENT ON COLLATION test0'=> { |
1745 | 1753 | all_runs=> 1, |
|
1771 | 1779 | only_dump_test_schema=> 1, |
1772 | 1780 | only_dump_test_table=> 1, |
1773 | 1781 | role=> 1, |
| 1782 | +section_post_data=> 1, |
1774 | 1783 | test_schema_plus_blobs=> 1, }, }, |
1775 | 1784 |
|
1776 | 1785 | 'COMMENT ON LARGE OBJECT ...'=> { |
|
1814 | 1823 | section_data=> 1, |
1815 | 1824 | section_post_data=> 1, }, }, |
1816 | 1825 |
|
| 1826 | +'COMMENT ON PUBLICATION pub1'=> { |
| 1827 | +all_runs=> 1, |
| 1828 | +create_order=> 55, |
| 1829 | +create_sql=>'COMMENT ON PUBLICATION pub1 |
| 1830 | + IS\'comment on publication\';', |
| 1831 | +regexp=>qr/^COMMENT ON PUBLICATION pub1 IS 'comment on publication';/m, |
| 1832 | +like=> { |
| 1833 | +binary_upgrade=> 1, |
| 1834 | +clean=> 1, |
| 1835 | +clean_if_exists=> 1, |
| 1836 | +createdb=> 1, |
| 1837 | +defaults=> 1, |
| 1838 | +exclude_dump_test_schema=> 1, |
| 1839 | +exclude_test_table=> 1, |
| 1840 | +exclude_test_table_data=> 1, |
| 1841 | +no_blobs=> 1, |
| 1842 | +no_privs=> 1, |
| 1843 | +no_owner=> 1, |
| 1844 | +pg_dumpall_dbprivs=> 1, |
| 1845 | +schema_only=> 1, |
| 1846 | +section_post_data=> 1, |
| 1847 | +with_oids=> 1, }, |
| 1848 | +unlike=> { |
| 1849 | +column_inserts=> 1, |
| 1850 | +data_only=> 1, |
| 1851 | +only_dump_test_table=> 1, |
| 1852 | +only_dump_test_schema=> 1, |
| 1853 | +pg_dumpall_globals=> 1, |
| 1854 | +pg_dumpall_globals_clean=> 1, |
| 1855 | +role=> 1, |
| 1856 | +section_data=> 1, |
| 1857 | +section_pre_data=> 1, |
| 1858 | +test_schema_plus_blobs=> 1, }, }, |
| 1859 | + |
| 1860 | +'COMMENT ON SUBSCRIPTION sub1'=> { |
| 1861 | +all_runs=> 1, |
| 1862 | +create_order=> 55, |
| 1863 | +create_sql=>'COMMENT ON SUBSCRIPTION sub1 |
| 1864 | + IS\'comment on subscription\';', |
| 1865 | +regexp=>qr/^COMMENT ON SUBSCRIPTION sub1 IS 'comment on subscription';/m, |
| 1866 | +like=> { |
| 1867 | +binary_upgrade=> 1, |
| 1868 | +clean=> 1, |
| 1869 | +clean_if_exists=> 1, |
| 1870 | +createdb=> 1, |
| 1871 | +defaults=> 1, |
| 1872 | +exclude_dump_test_schema=> 1, |
| 1873 | +exclude_test_table=> 1, |
| 1874 | +exclude_test_table_data=> 1, |
| 1875 | +no_blobs=> 1, |
| 1876 | +no_privs=> 1, |
| 1877 | +no_owner=> 1, |
| 1878 | +pg_dumpall_dbprivs=> 1, |
| 1879 | +schema_only=> 1, |
| 1880 | +section_post_data=> 1, |
| 1881 | +with_oids=> 1, }, |
| 1882 | +unlike=> { |
| 1883 | +column_inserts=> 1, |
| 1884 | +data_only=> 1, |
| 1885 | +only_dump_test_table=> 1, |
| 1886 | +only_dump_test_schema=> 1, |
| 1887 | +pg_dumpall_globals=> 1, |
| 1888 | +pg_dumpall_globals_clean=> 1, |
| 1889 | +role=> 1, |
| 1890 | +section_data=> 1, |
| 1891 | +section_pre_data=> 1, |
| 1892 | +test_schema_plus_blobs=> 1, }, }, |
| 1893 | + |
1817 | 1894 | 'COMMENT ON TEXT SEARCH CONFIGURATION dump_test.alt_ts_conf1'=> { |
1818 | 1895 | all_runs=> 1, |
1819 | 1896 | catch_all=>'COMMENT commands', |
|
1843 | 1920 | data_only=> 1, |
1844 | 1921 | exclude_dump_test_schema=> 1, |
1845 | 1922 | only_dump_test_table=> 1, |
1846 | | -role=> 1, }, }, |
| 1923 | +role=> 1, |
| 1924 | +section_post_data=> 1, }, }, |
1847 | 1925 |
|
1848 | 1926 | 'COMMENT ON TEXT SEARCH DICTIONARY dump_test.alt_ts_dict1'=> { |
1849 | 1927 | all_runs=> 1, |
|
1874 | 1952 | data_only=> 1, |
1875 | 1953 | exclude_dump_test_schema=> 1, |
1876 | 1954 | only_dump_test_table=> 1, |
1877 | | -role=> 1, }, }, |
| 1955 | +role=> 1, |
| 1956 | +section_post_data=> 1, }, }, |
1878 | 1957 |
|
1879 | 1958 | 'COMMENT ON TEXT SEARCH PARSER dump_test.alt_ts_prs1'=> { |
1880 | 1959 | all_runs=> 1, |
|
1905 | 1984 | data_only=> 1, |
1906 | 1985 | exclude_dump_test_schema=> 1, |
1907 | 1986 | only_dump_test_table=> 1, |
1908 | | -role=> 1, }, }, |
| 1987 | +role=> 1, |
| 1988 | +section_post_data=> 1, }, }, |
1909 | 1989 |
|
1910 | 1990 | 'COMMENT ON TEXT SEARCH TEMPLATE dump_test.alt_ts_temp1'=> { |
1911 | 1991 | all_runs=> 1, |
|
1936 | 2016 | data_only=> 1, |
1937 | 2017 | exclude_dump_test_schema=> 1, |
1938 | 2018 | only_dump_test_table=> 1, |
1939 | | -role=> 1, }, }, |
| 2019 | +role=> 1, |
| 2020 | +section_post_data=> 1, }, }, |
1940 | 2021 |
|
1941 | 2022 | 'COMMENT ON TYPE dump_test.planets - ENUM'=> { |
1942 | 2023 | all_runs=> 1, |
|
1967 | 2048 | data_only=> 1, |
1968 | 2049 | exclude_dump_test_schema=> 1, |
1969 | 2050 | only_dump_test_table=> 1, |
1970 | | -role=> 1, }, }, |
| 2051 | +role=> 1, |
| 2052 | +section_post_data=> 1, }, }, |
1971 | 2053 |
|
1972 | 2054 | 'COMMENT ON TYPE dump_test.textrange - RANGE'=> { |
1973 | 2055 | all_runs=> 1, |
|
1998 | 2080 | data_only=> 1, |
1999 | 2081 | exclude_dump_test_schema=> 1, |
2000 | 2082 | only_dump_test_table=> 1, |
2001 | | -role=> 1, }, }, |
| 2083 | +role=> 1, |
| 2084 | +section_post_data=> 1, }, }, |
2002 | 2085 |
|
2003 | 2086 | 'COMMENT ON TYPE dump_test.int42 - Regular'=> { |
2004 | 2087 | all_runs=> 1, |
|
2029 | 2112 | data_only=> 1, |
2030 | 2113 | exclude_dump_test_schema=> 1, |
2031 | 2114 | only_dump_test_table=> 1, |
2032 | | -role=> 1, }, }, |
| 2115 | +role=> 1, |
| 2116 | +section_post_data=> 1, }, }, |
2033 | 2117 |
|
2034 | 2118 | 'COMMENT ON TYPE dump_test.undefined - Undefined'=> { |
2035 | 2119 | all_runs=> 1, |
|
2060 | 2144 | data_only=> 1, |
2061 | 2145 | exclude_dump_test_schema=> 1, |
2062 | 2146 | only_dump_test_table=> 1, |
2063 | | -role=> 1, }, }, |
| 2147 | +role=> 1, |
| 2148 | +section_post_data=> 1, }, }, |
2064 | 2149 |
|
2065 | 2150 | # catch-all for COMMENTs |
2066 | 2151 | 'COMMENT commands'=> { |
|
2070 | 2155 | unlike=> { |
2071 | 2156 | pg_dumpall_globals=> 1, |
2072 | 2157 | pg_dumpall_globals_clean=> 1, |
2073 | | -section_data=> 1, |
2074 | | -section_post_data=> 1, }, }, |
| 2158 | +section_data=> 1, }, }, |
2075 | 2159 |
|
2076 | 2160 | 'COPY test_table'=> { |
2077 | 2161 | all_runs=> 1, |
|