Re: Proper relational database?

Поиск
Список
Период
Сортировка
От Manuel Gómez
Тема Re: Proper relational database?
Дата
Msg-id CAJWnFaP65BmFSdt0SGrn7VimcdCVkTfte7zcnHFkO287b6PtTA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Proper relational database?  (Thomas Munro <thomas.munro@enterprisedb.com>)
Ответы Re: Proper relational database?  (Geoff Winkless <pgsqladmin@geoff.dj>)
Список pgsql-general
On Sat, Apr 23, 2016 at 12:05 AM, Thomas Munro
<thomas.munro@enterprisedb.com> wrote:
> FWIW standard SQL may not allow it but Postgres does, and it's even
> possible to exclude duplicates by using an expression that references
> the whole row.

Indeed, but its semantics can be rather wonky.  Witness:

postgres=# select 1;
 ?column?
----------
        1
(1 row)

postgres=# select 1 union select 1;
 ?column?
----------
        1
(1 row)

postgres=# select;
--
(1 row)

postgres=# select union select;
--
(2 rows)

postgres=# select 1 intersect select 1;
 ?column?
----------
        1
(1 row)

postgres=# select intersect select;
--
(2 rows)


В списке pgsql-general по дате отправления:

Предыдущее
От: Sameer Kumar
Дата:
Сообщение: Re: [NOVICE] Fwd: Process scheduling in postgres
Следующее
От: Guyren Howe
Дата:
Сообщение: Re: Proper relational database?