"Kevin Grittner" <kevin.gritt...@wicourts.gov> wrote:
 
> DELETE FROM foo
>   where foo.b in (
>     select b from foo WHERE type = 'o'
>     except SELECT b FROM bar
>     except SELECT b FROM foo where type <> 'o');
 
Oops.  Maybe before I get excited I should try it with a query which
is actually logically equivalent.  :-(
 
-Kevin

-- 
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance

Reply via email to