Re: Bug in optimizer - Mailing list pgsql-bugs

From Gaetano Mendola
Subject Re: Bug in optimizer
Date
Msg-id 409924D5.1090001@bigfoot.com
Whole thread Raw
In response to Bug in optimizer  (Timo Nentwig <timo@nitwit.de>)
List pgsql-bugs
Timo Nentwig wrote:

> This is very slow:
>
> SELECT urls.id FROM urls WHERE
> (
>     urls.id <> ALL (SELECT html.urlid FROM html)
> );
>
> ...while this is quite fast:
>
> SELECT urls.id FROM urls WHERE
> (
>     NOT (EXISTS (SELECT html.urlid FROM tml WHERE
>     (
>         html.urlid = urls.id
>     )))
> );

Are you using the version 7.4.x ?



Regards
Gaetano Mendola

pgsql-bugs by date:

Previous
From: CustomerSupport@eBay.com
Date:
Subject: Security Measures (SafeHarbor) (KMM82003618V76837L0KM)
Next
From: "Ismail Kizir"
Date:
Subject: Turkish locale bug