forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3f7626e
committed
A couple of marginal performance hacks for the information_schema views:
replace the old recursive-SQL-function implementation of _pg_keysequal()with use of the built-in array containment operators, and changetable_constraints' UNION to UNION ALL. Per discussion with Octavio Alvarez.initdb not forced since this doesn't affect results, but you'd need toinitdb or reload the information_schema to see the new definitions.1 parentca5646f commit3f7626e
1 file changed
+4
-12
lines changedLines changed: 4 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 | 43 |
| |
50 |
| - | |
51 |
| - | |
52 |
| - | |
53 |
| - | |
| 44 | + | |
| 45 | + | |
54 | 46 |
| |
55 | 47 |
| |
56 | 48 |
| |
| |||
1793 | 1785 |
| |
1794 | 1786 |
| |
1795 | 1787 |
| |
1796 |
| - | |
| 1788 | + | |
1797 | 1789 |
| |
1798 | 1790 |
| |
1799 | 1791 |
| |
|
0 commit comments
Comments
(0)