diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-03-25 15:50:10 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-03-25 15:50:10 +0000 |
commit | 5ceb13c8a12320a44fa211cf0ba32b1641270aeb (patch) | |
tree | 3bfb94f86861aa7e22bc93f98ece4e419ec14220 /src/tutorial/basics.source | |
parent | be8cebc717ef0b583ada09da8d0245793697c1a8 (diff) | |
download | postgresql-5ceb13c8a12320a44fa211cf0ba32b1641270aeb.tar.gz postgresql-5ceb13c8a12320a44fa211cf0ba32b1641270aeb.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/basics.source')
0 files changed, 0 insertions, 0 deletions