Re: Is this proper UNION behavior??

From: Cristóvão B(dot) B(dot) Dalla Costa <cdallacosta(at)bigfoot(dot)com>
To: "pgsql-general" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Is this proper UNION behavior??
Date: 2000-11-14 15:22:32
Message-ID: 005101c04e4e$e0ca8c00$02ffa8c0@terrificus
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Of course, the real bug here is in SQL, namely that it allows
> duplicates in tables.

Or maybe not. Tables are not *always* relations, one may have a table of
things to do. If one thing has to be done twice, it might have two entries
on the table.

It all depends on the workings of the programs using the database. Just
imagine you SELECT a subset of a tables's unique rows, but that subset
doesn't produce unique rows. Should the non-unique ones be removed behind
your back? I think not.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Anders R. Sveen 2000-11-14 15:24:58 Encoding
Previous Message Havrylyak Roma 2000-11-14 15:13:25 Socket command type N unknown