aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/partitionfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2019-03-01 17:57:20 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2019-03-01 17:57:20 -0500
commit3396138a6de329fa7b5e0dda79219b4ae82622dc (patch)
tree8a8a18a2762cc1c3c6634f3318d3af39bc772f3d /src/backend/utils/adt/partitionfuncs.c
parent65ce07e0202f2ef0953be9d085d3e5df7ad353a4 (diff)
downloadpostgresql-3396138a6de329fa7b5e0dda79219b4ae82622dc.tar.gz
postgresql-3396138a6de329fa7b5e0dda79219b4ae82622dc.zip
Check we don't misoptimize a NOT IN where the subquery returns no rows.
Future-proofing against a common mistake in attempts to optimize NOT IN. We don't have such an optimization right now, but attempts to do so are in the works, and some of 'em are buggy. Add a regression test case covering the point. David Rowley Discussion: https://postgr.es/m/CAKJS1f90E9agVZryVyUpbHQbjTt5ExqS2Fsodmt5_A7E_cEyVA@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/partitionfuncs.c')
0 files changed, 0 insertions, 0 deletions