forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit796de9c
committed
/contrib/cube improvements:
Update the calling convention for all external facing functions. Byexternal facing, I mean all functions that are directly referenced incube.sql. Prior to my update, all functions used the older V0 callingconvention. They now use V1.New Functions:cube(float[]), which makes a zero volume cube from a float arraycube(float[], float[]), which allows the user to create a cube fromtwo float arrays; one for the upper right and one for the lower leftcoordinate.cube_subset(cube, int4[]), to allow you to reorder or choose a subset ofdimensions from a cube, using index values specified in the array.Joshua Reich1 parente628464 commit796de9c
File tree
7 files changed
+662
-196
lines changed- contrib/cube
- expected
- sql
7 files changed
+662
-196
lines changedLines changed: 24 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
1 | 24 |
| |
| 25 | + | |
2 | 26 |
| |
3 | 27 |
| |
4 | 28 |
| |
|
Lines changed: 24 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
244 | 244 |
| |
245 | 245 |
| |
246 | 246 |
| |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
247 | 257 |
| |
248 | 258 |
| |
249 | 259 |
| |
| |||
267 | 277 |
| |
268 | 278 |
| |
269 | 279 |
| |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
270 | 287 |
| |
271 | 288 |
| |
272 | 289 |
| |
| |||
327 | 344 |
| |
328 | 345 |
| |
329 | 346 |
| |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + |
0 commit comments
Comments
(0)