forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit96c702c
committed
Remove dead code in toast_fetch_datum_slice
In toast_fetch_datum_slice(), we Assert() that what is passed in isn'tcompressed, but we then later had a check to see what the length of ifwhat was passed in is compressed. That later check is rather confusingsince toast_fetch_datum_slice() is only ever called with non-compresseddatums and the Assert() earlier makes it clear that one shouldn't bepassing in compressed datums.Add a comment to make it clear that toast_fetch_datum_slice() is justfor non-compressed datums, and remove the dead code.1 parent6d8727f commit96c702c
1 file changed
+3
-4
lines changedLines changed: 3 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2026 | 2026 |
| |
2027 | 2027 |
| |
2028 | 2028 |
| |
| 2029 | + | |
| 2030 | + | |
2029 | 2031 |
| |
2030 | 2032 |
| |
2031 | 2033 |
| |
| |||
2085 | 2087 |
| |
2086 | 2088 |
| |
2087 | 2089 |
| |
2088 |
| - | |
2089 |
| - | |
2090 |
| - | |
2091 |
| - | |
| 2090 | + | |
2092 | 2091 |
| |
2093 | 2092 |
| |
2094 | 2093 |
| |
|
0 commit comments
Comments
(0)