summaryrefslogtreecommitdiff
path: root/src/test/regress/sql/brin.sql
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2015-01-22 17:01:09 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2015-01-22 17:01:09 -0300
commit972bf7d6f13005dfe89ae3f8a3b937a4a0580c85 (patch)
tree320210b9dac82fbf5850c4debb1eb915aea5bfb5 /src/test/regress/sql/brin.sql
parentb04d69161354f7cfc3d8153b67145dbebc4a4698 (diff)
downloadpostgresql-972bf7d6f13005dfe89ae3f8a3b937a4a0580c85.tar.gz
Tweak BRIN minmax operator class
In the union support proc, we were not checking the hasnulls flag of value A early enough, so it could be skipped if the "allnulls" flag in value B is set. Also, a check on the allnulls flag of value "B" was redundant, so remove it. Also change inet_minmax_ops to not be the default opclass for type inet, as a future inclusion operator class would be more useful and it's pretty difficult to change default opclass for a datatype later on. (There is no catversion bump for this catalog change; this shouldn't be a problem.) Extracted from a larger patch to add an "inclusion" operator class. Author: Emre Hasegeli
Diffstat (limited to 'src/test/regress/sql/brin.sql')
-rw-r--r--src/test/regress/sql/brin.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/regress/sql/brin.sql b/src/test/regress/sql/brin.sql
index b1d2c5c8ea..3aff92529a 100644
--- a/src/test/regress/sql/brin.sql
+++ b/src/test/regress/sql/brin.sql
@@ -68,7 +68,7 @@ CREATE INDEX brinidx ON brintest USING brin (
float4col,
float8col,
macaddrcol,
- inetcol,
+ inetcol inet_minmax_ops,
bpcharcol,
datecol,
timecol,