diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-03-25 15:50:15 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-03-25 15:50:15 +0000 |
commit | 3c6dc48ce4fa90ebaaf332d0f8cb77adbe3d5950 (patch) | |
tree | 432f81665faafe75283767199a04a6e976cb5645 /src/tutorial/funcs.c | |
parent | 08729b4e8aa3a27bf9b43a2dae6b962405f63222 (diff) | |
download | postgresql-3c6dc48ce4fa90ebaaf332d0f8cb77adbe3d5950.tar.gz postgresql-3c6dc48ce4fa90ebaaf332d0f8cb77adbe3d5950.zip |
Fix ginint4_queryextract() to actually do what it was intended to do for an
unsatisfiable query, such as indexcol && empty_array. It should return -1
to tell GIN no scan is required; but silly typo disabled the logic for that,
resulting in unnecessary "GIN indexes do not support whole-index scans" error.
Per bug report from Jeff Trout.
Back-patch to 8.3 where the logic was introduced.
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions