Re: Finding missing records - Mailing list pgsql-general

From John D. Burger
Subject Re: Finding missing records
Date
Msg-id 047d25b6327fefb2248fde4fa9fc9760@mitre.org
Whole thread Raw
In response to Re: Finding missing records  ("John D. Burger" <john@mitre.org>)
List pgsql-general
I wrote:

> Note that IN and EXCEPT are essentially set operators - if you have
> duplicates in either table, you might not get what you expect.
>
> If what you want is the =bag= difference of the two tables, you'll
> have to do something more complicated.

and then I immediately saw Pandurangan's message indicating that ALL
can be used to turn the set operators into bag operators, e.g., EXCEPT
ALL.  Cool!  (And not complicated at all.)

- John D. Burger
   MITRE


pgsql-general by date:

Previous
From: Alexander Presber
Date:
Subject: Re: TSearch2 / German compound words / UTF-8
Next
From: Matthew Henderson
Date:
Subject: Re: Accessing an old database from a new OS installation.