forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit972bf7d
committed
Tweak BRIN minmax operator class
In the union support proc, we were not checking the hasnulls flag ofvalue A early enough, so it could be skipped if the "allnulls" flag invalue B is set. Also, a check on the allnulls flag of value "B" wasredundant, 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'spretty difficult to change default opclass for a datatype later on.(There is no catversion bump for this catalog change; this shouldn't bea problem.)Extracted from a larger patch to add an "inclusion" operator class.Author: Emre Hasegeli1 parentb04d691 commit972bf7d
File tree
4 files changed
+13
-12
lines changed- src
- backend/access/brin
- include/catalog
- test/regress
- expected
- sql
4 files changed
+13
-12
lines changedLines changed: 10 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
256 | 256 |
| |
257 | 257 |
| |
258 | 258 |
| |
259 |
| - | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
260 | 264 |
| |
261 | 265 |
| |
262 | 266 |
| |
263 | 267 |
| |
264 | 268 |
| |
265 | 269 |
| |
266 |
| - | |
267 |
| - | |
268 |
| - | |
269 |
| - | |
270 | 270 |
| |
271 |
| - | |
272 |
| - | |
273 |
| - | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
274 | 275 |
| |
275 |
| - | |
| 276 | + | |
276 | 277 |
| |
277 | 278 |
| |
278 | 279 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
252 | 252 |
| |
253 | 253 |
| |
254 | 254 |
| |
255 |
| - | |
| 255 | + | |
256 | 256 |
| |
257 | 257 |
| |
258 | 258 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
68 |
| - | |
| 68 | + | |
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
71 |
| - | |
| 71 | + | |
72 | 72 |
| |
73 | 73 |
| |
74 | 74 |
| |
|
0 commit comments
Comments
(0)