aboutsummaryrefslogtreecommitdiff
path: root/src/backend/jit/llvm/llvmjit_expr.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2019-01-25 11:44:26 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2019-01-25 11:44:26 -0500
commitff750ce2d82979e9588c629955e161a9379b05f3 (patch)
tree006efc81e0cc0fb590cbd2d95e69f5800c5fe2bc /src/backend/jit/llvm/llvmjit_expr.c
parent6119060d01ab2dfb9e2c1c101595f2de7890965d (diff)
downloadpostgresql-ff750ce2d82979e9588c629955e161a9379b05f3.tar.gz
postgresql-ff750ce2d82979e9588c629955e161a9379b05f3.zip
Teach nulltestsel() that system columns are never NULL.
While it's perhaps unlikely that users would write an explicit test like "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 Horner Discussion: https://postgr.es/m/CAMyN-kCa3BFUFrCTtQeprxTU1anCd3Pua7zXstGCKq4pXgjukw@mail.gmail.com
Diffstat (limited to 'src/backend/jit/llvm/llvmjit_expr.c')
0 files changed, 0 insertions, 0 deletions