Skip to content

Commit 4b87403

Browse files
committed
Back out ORDER BY addition to Inet, for Tom.
1 parent de97072 commit 4b87403

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/test/regress/expected/inet.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,15 +190,15 @@ SELECT '' AS ten, set_masklen(inet(text(i)), 24) FROM INET_TBL;
190190
-- check that index works correctly
191191
CREATE INDEX inet_idx1 ON inet_tbl(i);
192192
SET enable_seqscan TO off;
193-
SELECT * FROM inet_tbl WHERE i<<'192.168.1.0/24'::cidr ORDER BY c,i;
193+
SELECT * FROM inet_tbl WHERE i<<'192.168.1.0/24'::cidr;
194194
c | i
195195
----------------+------------------
196196
192.168.1.0/24 | 192.168.1.0/25
197197
192.168.1.0/24 | 192.168.1.255/25
198198
192.168.1.0/24 | 192.168.1.226
199199
(3 rows)
200200

201-
SELECT * FROM inet_tbl WHERE i<<='192.168.1.0/24'::cidr ORDER BY c,i;
201+
SELECT * FROM inet_tbl WHERE i<<='192.168.1.0/24'::cidr;
202202
c | i
203203
----------------+------------------
204204
192.168.1.0/24 | 192.168.1.0/24

src/test/regress/sql/inet.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ SELECT '' AS ten, set_masklen(inet(text(i)), 24) FROM INET_TBL;
5656
-- check that index works correctly
5757
CREATE INDEX inet_idx1 ON inet_tbl(i);
5858
SET enable_seqscan TO off;
59-
SELECT * FROM inet_tbl WHERE i<<'192.168.1.0/24'::cidr ORDER BY c,i;
60-
SELECT * FROM inet_tbl WHERE i<<='192.168.1.0/24'::cidr ORDER BY c,i;
59+
SELECT * FROM inet_tbl WHERE i<<'192.168.1.0/24'::cidr;
60+
SELECT * FROM inet_tbl WHERE i<<='192.168.1.0/24'::cidr;
6161
SET enable_seqscan TO on;
6262
DROP INDEX inet_idx1;
6363

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy