From 4b874036c27ee1ba9995b3ea9a29e09bed26e4ae Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 15 Jan 2003 20:01:01 +0000 Subject: [PATCH] Back out ORDER BY addition to Inet, for Tom. --- src/test/regress/expected/inet.out | 4 ++-- src/test/regress/sql/inet.sql | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/regress/expected/inet.out b/src/test/regress/expected/inet.out index 8c4b545687..59983f5f23 100644 --- a/src/test/regress/expected/inet.out +++ b/src/test/regress/expected/inet.out @@ -190,7 +190,7 @@ SELECT '' AS ten, set_masklen(inet(text(i)), 24) FROM INET_TBL; -- check that index works correctly CREATE INDEX inet_idx1 ON inet_tbl(i); SET enable_seqscan TO off; -SELECT * FROM inet_tbl WHERE i<<'192.168.1.0/24'::cidr ORDER BY c,i; +SELECT * FROM inet_tbl WHERE i<<'192.168.1.0/24'::cidr; c | i ----------------+------------------ 192.168.1.0/24 | 192.168.1.0/25 @@ -198,7 +198,7 @@ SELECT * FROM inet_tbl WHERE i<<'192.168.1.0/24'::cidr ORDER BY c,i; 192.168.1.0/24 | 192.168.1.226 (3 rows) -SELECT * FROM inet_tbl WHERE i<<='192.168.1.0/24'::cidr ORDER BY c,i; +SELECT * FROM inet_tbl WHERE i<<='192.168.1.0/24'::cidr; c | i ----------------+------------------ 192.168.1.0/24 | 192.168.1.0/24 diff --git a/src/test/regress/sql/inet.sql b/src/test/regress/sql/inet.sql index ca11f49495..d62337d4d4 100644 --- a/src/test/regress/sql/inet.sql +++ b/src/test/regress/sql/inet.sql @@ -56,8 +56,8 @@ SELECT '' AS ten, set_masklen(inet(text(i)), 24) FROM INET_TBL; -- check that index works correctly CREATE INDEX inet_idx1 ON inet_tbl(i); SET enable_seqscan TO off; -SELECT * FROM inet_tbl WHERE i<<'192.168.1.0/24'::cidr ORDER BY c,i; -SELECT * FROM inet_tbl WHERE i<<='192.168.1.0/24'::cidr ORDER BY c,i; +SELECT * FROM inet_tbl WHERE i<<'192.168.1.0/24'::cidr; +SELECT * FROM inet_tbl WHERE i<<='192.168.1.0/24'::cidr; SET enable_seqscan TO on; DROP INDEX inet_idx1;