forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitff750ce
committed
Teach nulltestsel() that system columns are never NULL.
While it's perhaps unlikely that users would write an explicit testlike "ctid IS NULL", this function is also used in range estimation,and an incorrect answer can throw off the results for tight ranges.Anyway it's not much code so we might as well do it.Edmund HornerDiscussion:https://postgr.es/m/CAMyN-kCa3BFUFrCTtQeprxTU1anCd3Pua7zXstGCKq4pXgjukw@mail.gmail.com1 parent6119060 commitff750ce
1 file changed
+9
-0
lines changedLines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1797 | 1797 |
| |
1798 | 1798 |
| |
1799 | 1799 |
| |
| 1800 | + | |
| 1801 | + | |
| 1802 | + | |
| 1803 | + | |
| 1804 | + | |
| 1805 | + | |
| 1806 | + | |
| 1807 | + | |
| 1808 | + | |
1800 | 1809 |
| |
1801 | 1810 |
| |
1802 | 1811 |
| |
|
0 commit comments
Comments
(0)