git.postgresql.org Git - postgresql.git/commit
2010年3月25日 15:50:10 +0000 (15:50 +0000)
2010年3月25日 15:50:10 +0000 (15:50 +0000)
commit 5ceb13c8a12320a44fa211cf0ba32b1641270aeb
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.
This is the main PostgreSQL git repository.
RSS
Atom