forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite42b3c3
committed
Fix GiST index deletion assert issue.
Avoid calling heap_index_delete_tuples() with an empty deltids array toavoid an assertion failure.This issue was arguably an oversight in commitb5f58cf, though thefailing assert itself was added by my recent commitd168b66. Nobackpatch, though, since the oversight is harmless in the back branches.Author: Peter Geoghegan <pg@bowt.ie>Reported-By: Jaime Casanova <jcasanov@systemguards.com.ec>Discussion:https://postgr.es/m/CAJKUy5jscES84n3puE=sYngyF+zpb4wv8UMtuLnLPv5z=6yyNw@mail.gmail.com1 parent32bef75 commite42b3c3
2 files changed
+9
-6
lines changedLines changed: 7 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1645 | 1645 |
| |
1646 | 1646 |
| |
1647 | 1647 |
| |
1648 |
| - | |
1649 | 1648 |
| |
1650 | 1649 |
| |
1651 | 1650 |
| |
| |||
1664 | 1663 |
| |
1665 | 1664 |
| |
1666 | 1665 |
| |
1667 |
| - | |
1668 |
| - | |
1669 |
| - | |
1670 |
| - | |
1671 |
| - | |
1672 | 1666 |
| |
1673 | 1667 |
| |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
1674 | 1675 |
| |
1675 | 1676 |
| |
1676 | 1677 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
301 | 301 |
| |
302 | 302 |
| |
303 | 303 |
| |
| 304 | + | |
| 305 | + | |
304 | 306 |
| |
305 | 307 |
| |
306 | 308 |
| |
|
0 commit comments
Comments
(0)