pgsql: Fix intarray's GiST opclasses to not fail for empty arrays with

2019-08-06 Thread Tom Lane
Fix intarray's GiST opclasses to not fail for empty arrays with <@. contrib/intarray considers "arraycol <@ constant-array" to be indexable, but its GiST opclass code fails to reliably find index entries for empty array values (which of course should trivially match such queries). This is because

pgsql: Fix intarray's GiST opclasses to not fail for empty arrays with

2019-08-06 Thread Tom Lane
Fix intarray's GiST opclasses to not fail for empty arrays with <@. contrib/intarray considers "arraycol <@ constant-array" to be indexable, but its GiST opclass code fails to reliably find index entries for empty array values (which of course should trivially match such queries). This is because

pgsql: Fix intarray's GiST opclasses to not fail for empty arrays with

2019-08-06 Thread Tom Lane
Fix intarray's GiST opclasses to not fail for empty arrays with <@. contrib/intarray considers "arraycol <@ constant-array" to be indexable, but its GiST opclass code fails to reliably find index entries for empty array values (which of course should trivially match such queries). This is because

pgsql: Fix intarray's GiST opclasses to not fail for empty arrays with

2019-08-06 Thread Tom Lane
Fix intarray's GiST opclasses to not fail for empty arrays with <@. contrib/intarray considers "arraycol <@ constant-array" to be indexable, but its GiST opclass code fails to reliably find index entries for empty array values (which of course should trivially match such queries). This is because

pgsql: Fix intarray's GiST opclasses to not fail for empty arrays with

2019-08-06 Thread Tom Lane
Fix intarray's GiST opclasses to not fail for empty arrays with <@. contrib/intarray considers "arraycol <@ constant-array" to be indexable, but its GiST opclass code fails to reliably find index entries for empty array values (which of course should trivially match such queries). This is because

pgsql: Fix intarray's GiST opclasses to not fail for empty arrays with

2019-08-06 Thread Tom Lane
Fix intarray's GiST opclasses to not fail for empty arrays with <@. contrib/intarray considers "arraycol <@ constant-array" to be indexable, but its GiST opclass code fails to reliably find index entries for empty array values (which of course should trivially match such queries). This is because

pgsql: Fix intarray's GiST opclasses to not fail for empty arrays with

2019-08-06 Thread Tom Lane
Fix intarray's GiST opclasses to not fail for empty arrays with <@. contrib/intarray considers "arraycol <@ constant-array" to be indexable, but its GiST opclass code fails to reliably find index entries for empty array values (which of course should trivially match such queries). This is because