Skip to content

Commit b6b751f

Browse files
committed
add reminder
1 parent e35e136 commit b6b751f

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

expected/orderby.out

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,3 +184,7 @@ SELECT id, d, d |-> '2016-05-16 14:21:25' FROM tsts WHERE t @@ 'wr&qh' ORDER BY
184184
457 | Fri May 20 20:21:22.326724 2016 | 367197.326724
185185
(5 rows)
186186

187+
--to be fixed
188+
--EXPLAIN (costs off)
189+
--SELECT id, d, d <-> '2016-05-16 14:21:25' FROM tsts ORDER BY d <-> '2016-05-16 14:21:25' LIMIT 5;
190+
--SELECT id, d, d <-> '2016-05-16 14:21:25' FROM tsts ORDER BY d <-> '2016-05-16 14:21:25' LIMIT 5;

rumscan.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -301,9 +301,9 @@ initScanKey(RumScanOpaque so, ScanKey skey, bool *hasNullQuery)
301301
int32 searchMode = GIN_SEARCH_MODE_DEFAULT;
302302

303303
/*
304-
* We assume that RUM-indexable operators are strict, so a null query
305-
* argument means an unsatisfiable query.
306-
*/
304+
* We assume that RUM-indexable operators are strict, so a null query
305+
* argument means an unsatisfiable query.
306+
*/
307307
if (skey->sk_flags & SK_ISNULL)
308308
{
309309
so->isVoidRes = true;

sql/orderby.sql

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,8 @@ EXPLAIN (costs off)
4949
SELECT id, d, d |-> '2016-05-16 14:21:25' FROM tsts WHERE t @@ 'wr&qh' ORDER BY d |-> '2016-05-16 14:21:25' LIMIT 5;
5050
SELECT id, d, d |-> '2016-05-16 14:21:25' FROM tsts WHERE t @@ 'wr&qh' ORDER BY d |-> '2016-05-16 14:21:25' LIMIT 5;
5151

52+
--to be fixed
53+
--EXPLAIN (costs off)
54+
--SELECT id, d, d <-> '2016-05-16 14:21:25' FROM tsts ORDER BY d <-> '2016-05-16 14:21:25' LIMIT 5;
55+
--SELECT id, d, d <-> '2016-05-16 14:21:25' FROM tsts ORDER BY d <-> '2016-05-16 14:21:25' LIMIT 5;
56+

0 commit comments

Comments
 (0)