From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Rod Taylor <rbt(at)rbt(dot)ca> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: inet regression test |
Date: | 2003-01-15 16:35:30 |
Message-ID: | 200301151635.h0FGZVA16655@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
OK, I have applied an patch to ORDER BY on those queries. I don't see
the ordering you have here, but this should fix it for you. I also
uppercased the keywords while I was in there.
---------------------------------------------------------------------------
Rod Taylor wrote:
-- Start of PGP signed section.
> Looks like some ORDER BY statements would be useful.
>
> *** ./expected/inet.out Sat Jun 16 22:05:20 2001
> --- ./results/inet.out Wed Jan 15 10:18:40 2003
> ***************
> *** 193,212 ****
> select * from inet_tbl where i<<'192.168.1.0/24'::cidr;
> c | i
> ----------------+------------------
> 192.168.1.0/24 | 192.168.1.0/25
> 192.168.1.0/24 | 192.168.1.255/25
> - 192.168.1.0/24 | 192.168.1.226
> (3 rows)
>
> select * from inet_tbl where i<<='192.168.1.0/24'::cidr;
> c | i
> ----------------+------------------
> - 192.168.1.0/24 | 192.168.1.0/24
> 192.168.1.0/24 | 192.168.1.226/24
> ! 192.168.1.0/24 | 192.168.1.255/24
> 192.168.1.0/24 | 192.168.1.0/25
> 192.168.1.0/24 | 192.168.1.255/25
> - 192.168.1.0/24 | 192.168.1.226
> (6 rows)
>
> set enable_seqscan to on;
> --- 193,212 ----
> select * from inet_tbl where i<<'192.168.1.0/24'::cidr;
> c | i
> ----------------+------------------
> + 192.168.1.0/24 | 192.168.1.226
> 192.168.1.0/24 | 192.168.1.0/25
> 192.168.1.0/24 | 192.168.1.255/25
> (3 rows)
>
> select * from inet_tbl where i<<='192.168.1.0/24'::cidr;
> c | i
> ----------------+------------------
> 192.168.1.0/24 | 192.168.1.226/24
> ! 192.168.1.0/24 | 192.168.1.226
> ! 192.168.1.0/24 | 192.168.1.0/24
> 192.168.1.0/24 | 192.168.1.0/25
> + 192.168.1.0/24 | 192.168.1.255/24
> 192.168.1.0/24 | 192.168.1.255/25
> (6 rows)
>
> set enable_seqscan to on;
>
> --
> Rod Taylor <rbt(at)rbt(dot)ca>
>
> PGP Key: http://www.rbt.ca/rbtpub.asc
-- End of PGP section, PGP failed!
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/plain | 3.4 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Fernando Nasser | 2003-01-15 17:52:28 | Re: SQL flagger |
Previous Message | Stephan Szabo | 2003-01-15 16:33:30 | Re: UNION result |