Commit ffbba6e
committed
Fix another palloc in critical section.
Also add a regression test for a GIN index with enough items with the same
key, so that a GIN posting tree gets created. Apparently none of the
existing GIN tests were large enough for that.
This code is new, no backpatching required.1 parent 6862ca6 commit ffbba6e
File tree
3 files changed
+48
-15
lines changed- src
- backend/access/gin
- test/regress
- expected
- sql
3 files changed
+48
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1706 | 1706 | | |
1707 | 1707 | | |
1708 | 1708 | | |
| 1709 | + | |
1709 | 1710 | | |
1710 | 1711 | | |
1711 | 1712 | | |
1712 | 1713 | | |
1713 | 1714 | | |
1714 | | - | |
1715 | | - | |
1716 | | - | |
1717 | | - | |
1718 | | - | |
1719 | | - | |
1720 | | - | |
1721 | | - | |
1722 | | - | |
1723 | | - | |
1724 | | - | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
1725 | 1719 | | |
1726 | 1720 | | |
1727 | 1721 | | |
1728 | 1722 | | |
1729 | 1723 | | |
1730 | 1724 | | |
1731 | 1725 | | |
1732 | | - | |
| 1726 | + | |
1733 | 1727 | | |
1734 | 1728 | | |
1735 | 1729 | | |
| |||
1750 | 1744 | | |
1751 | 1745 | | |
1752 | 1746 | | |
1753 | | - | |
1754 | | - | |
| 1747 | + | |
1755 | 1748 | | |
1756 | | - | |
| 1749 | + | |
| 1750 | + | |
| 1751 | + | |
| 1752 | + | |
| 1753 | + | |
| 1754 | + | |
| 1755 | + | |
| 1756 | + | |
| 1757 | + | |
| 1758 | + | |
| 1759 | + | |
1757 | 1760 | | |
1758 | 1761 | | |
1759 | 1762 | | |
| |||
1787 | 1790 | | |
1788 | 1791 | | |
1789 | 1792 | | |
| 1793 | + | |
| 1794 | + | |
1790 | 1795 | | |
1791 | 1796 | | |
1792 | 1797 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2221 | 2221 | | |
2222 | 2222 | | |
2223 | 2223 | | |
| 2224 | + | |
| 2225 | + | |
| 2226 | + | |
| 2227 | + | |
| 2228 | + | |
| 2229 | + | |
| 2230 | + | |
| 2231 | + | |
| 2232 | + | |
| 2233 | + | |
| 2234 | + | |
| 2235 | + | |
| 2236 | + | |
| 2237 | + | |
2224 | 2238 | | |
2225 | 2239 | | |
2226 | 2240 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
639 | 653 | | |
640 | 654 | | |
641 | 655 | | |
| |||
0 commit comments