SELECT * FROM test_cube WHERE c && '(3000,1000),(0,0)' ORDER BY c;
c
--------------------------
- (337, 455),(240, 359)
(1594, 1043),(1517, 971)
+ (337, 455),(240, 359)
(1444, 403),(1346, 344)
- (2424, 160),(2424, 81)
(759, 187),(662, 163)
+ (2424, 160),(2424, 81)
(5 rows)
-- Test sorting
SELECT * FROM test_cube WHERE c && '(3000,1000),(0,0)' GROUP BY c ORDER BY c;
c
--------------------------
- (337, 455),(240, 359)
(1594, 1043),(1517, 971)
+ (337, 455),(240, 359)
(1444, 403),(1346, 344)
- (2424, 160),(2424, 81)
(759, 187),(662, 163)
+ (2424, 160),(2424, 81)
(5 rows)