forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfdbb979
committed
Backpatch tuplesort.c assertion.
Backpatch an assertion (that was originally added to Postgres 12 bycommitdd299df) that seems broadly useful. The assertion can detectviolations of the HOT invariant (i.e. no two index tuples can point tothe same heap TID) when CREATE INDEX somehow incorrectly allows that totake place.For example, a IndexBuildHeapScan/heapam_index_build_range_scan bugmight result in two tuples that both point to the same heap TID. Ifthese two tuples also happen to be duplicates, the assertion will fail.Discussion:https://postgr.es/m/CAH2-WzmBxu4o=pMsniur+bwHqCGCmV_AOLkuK6BuU7ngA6evqw@mail.gmail.comBackpatch: 9.5-11 only1 parent9729f99 commitfdbb979
1 file changed
+6
-0
lines changedLines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4173 | 4173 |
| |
4174 | 4174 |
| |
4175 | 4175 |
| |
| 4176 | + | |
| 4177 | + | |
| 4178 | + | |
4176 | 4179 |
| |
4177 | 4180 |
| |
4178 | 4181 |
| |
| |||
4225 | 4228 |
| |
4226 | 4229 |
| |
4227 | 4230 |
| |
| 4231 | + | |
| 4232 | + | |
| 4233 | + | |
4228 | 4234 |
| |
4229 | 4235 |
| |
4230 | 4236 |
| |
|
0 commit comments
Comments
(0)