Commit 684b4f2
committed
Refactor creation of normal dependency records when creating extension
When creating an extension, the same type of dependency is used when
registering a dependency to a schema and required extensions. This
improves the code so as those dependencies are not recorded one-by-one,
but grouped together. Note that this has as side effect to remove
duplicate dependency entries, even if it should not happen in practice
as extensions listed as required in a control file should be listed only
once.
Extracted from a larger patch by the same author.
Author: Daniel Dustafsson
Discussion: https://postgr.es/m/20200629065535.GA183079@paquier.xyz1 parent c4342c9 commit 684b4f2
1 file changed
+12
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1783 | 1783 | | |
1784 | 1784 | | |
1785 | 1785 | | |
| 1786 | + | |
1786 | 1787 | | |
1787 | 1788 | | |
1788 | 1789 | | |
| |||
1825 | 1826 | | |
1826 | 1827 | | |
1827 | 1828 | | |
1828 | | - | |
1829 | | - | |
1830 | | - | |
| 1829 | + | |
1831 | 1830 | | |
1832 | | - | |
1833 | | - | |
1834 | | - | |
| 1831 | + | |
1835 | 1832 | | |
1836 | | - | |
| 1833 | + | |
| 1834 | + | |
1837 | 1835 | | |
1838 | 1836 | | |
1839 | 1837 | | |
1840 | 1838 | | |
1841 | 1839 | | |
1842 | 1840 | | |
1843 | | - | |
1844 | | - | |
1845 | | - | |
1846 | | - | |
1847 | | - | |
| 1841 | + | |
| 1842 | + | |
1848 | 1843 | | |
| 1844 | + | |
| 1845 | + | |
| 1846 | + | |
| 1847 | + | |
| 1848 | + | |
1849 | 1849 | | |
1850 | 1850 | | |
1851 | 1851 | | |
| |||
0 commit comments