Alvaro Herrera writes:
> PG Doc comments form wrote:
>> create table t(x int);
>> create table u(x int);
>>
>> insert into t values (1), (2), (2), (3), (3);
>> insert into u values (1), (2);
>>
>> select * from t except all select * from u;
>> x
>> ---
>> 3
>> 3
>> 2
On Sat, Feb 10, 2018 at 1:02 PM, Pantelis Theodosiou
wrote:
>
>
> On Sat, Feb 10, 2018 at 11:59 AM, Alvaro Herrera
> wrote:
>
>> PG Doc comments form wrote:
>>
>> > create table t(x int);
>> > create table u(x int);
>> >
>> > insert into
PG Doc comments form wrote:
> create table t(x int);
> create table u(x int);
>
> insert into t values (1), (2), (2), (3), (3);
> insert into u values (1), (2);
>
> select * from t except all select * from u;
> x
> ---
> 3
> 3
> 2
> (3
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/10/static/queries-union.html
Description:
I believe that the documented behavior of EXCEPT is not in agreement
with Postgres behavior (I'm using Postgres 9.5). The documents say:
EXCEPT