Re: Proper relational database?

Поиск
Список
Период
Сортировка
Искать
От
Raymond Brinzer
Тема
Re: Proper relational database?
Дата
Msg-id
CANasJH=Jx=85LhnfMOW7Ug4=TDRWJJWD9EqMqNs88sGAmy_k8A@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Proper relational database? Guyren Howe <guyren@gmail.com>
Re: Proper relational database? Andrew Sullivan <ajs@crankycanuck.ca>
Re: Proper relational database? <david@andl.org>
On the right tool (was Re: Proper relational database?) Andrew Sullivan <ajs@crankycanuck.ca>
Re: On the right tool (was Re: Proper relational database?) <david@andl.org>
Re: Proper relational database? Paul Jungwirth <pj@illuminatedcomputing.com>
Re: Proper relational database? <david@andl.org>
Re: Proper relational database? Manuel Gómez <targen@gmail.com>
Re: Proper relational database? <david@andl.org>
Re: Proper relational database? David Goodenough <david.goodenough@btconnect.com>
Re: Proper relational database? Eric Schwarzenbach <subscriber@blackbrook.org>
Re: Proper relational database? "David Bennett" <davidb@pfxcorp.com>
Re: Proper relational database? Guyren Howe <guyren@gmail.com>
Re: Proper relational database? <david@andl.org>
Re: Proper relational database? Thomas Munro <thomas.munro@enterprisedb.com>
Re: Proper relational database? <david@andl.org>
Re: Proper relational database? Geoff Winkless <pgsqladmin@geoff.dj>
Re: Proper relational database? Geoff Winkless <pgsqladmin@geoff.dj>
Re: Proper relational database? John McKown <john.archie.mckown@gmail.com>
Re: Proper relational database? Guyren Howe <guyren@gmail.com>
Re: Proper relational database? John McKown <john.archie.mckown@gmail.com>
Re: Proper relational database? Geoff Winkless <pgsqladmin@geoff.dj>
Re: Proper relational database? Raymond Brinzer <ray.brinzer@gmail.com>
Re: Proper relational database? <david@andl.org>
Re: Proper relational database? John R Pierce <pierce@hogranch.com>
Re: Proper relational database? <david@andl.org>
Re: Proper relational database? Raymond Brinzer <ray.brinzer@gmail.com>
Re: Proper relational database? <david@andl.org>
Re: Proper relational database? Thomas Munro <thomas.munro@enterprisedb.com>
Re: Proper relational database? "David Bennett" <davidb@pfxcorp.com>
Re: Proper relational database? <david@andl.org>
Re: Proper relational database? Manuel Gómez <targen@gmail.com>
Re: Proper relational database? Geoff Winkless <pgsqladmin@geoff.dj>
Re: Proper relational database? "Joshua D. Drake" <jd@commandprompt.com>
Re: Proper relational database? Manuel Gómez <targen@gmail.com>
Re: Proper relational database? Guyren Howe <guyren@gmail.com>
Re: Proper relational database? <david@andl.org>
Re: Proper relational database? Peter Geoghegan <pg@bowt.ie>
Re: Proper relational database? "David G. Johnston" <david.g.johnston@gmail.com>
Re: Proper relational database? Raymond Brinzer <ray.brinzer@gmail.com>
Re: Proper relational database? Raymond Brinzer <ray.brinzer@gmail.com>
Re: Proper relational database? <david@andl.org>
Re: Proper relational database? "Joshua D. Drake" <jd@commandprompt.com>
Re: Proper relational database? "David G. Johnston" <david.g.johnston@gmail.com>
Re: Proper relational database? Guyren Howe <guyren@gmail.com>
Re: Proper relational database? <david@andl.org>
Re: Proper relational database? Guyren Howe <guyren@gmail.com>
Re: Proper relational database? <david@andl.org>
Re: Proper relational database? Kevin Grittner <kgrittn@gmail.com>
Re: Proper relational database? "David G. Johnston" <david.g.johnston@gmail.com>
On Fri, Apr 22, 2016 at 10:45 PM, John R Pierce  wrote:
> a table with no columns would have no primary key...  doesn't that violate
> one of the fundamental tenets of the relational model ?

Not as I understand it.  A relation must have at least one candidate
key.  That will be the set of all the fields, if no proper subset
qualifies. Calling one key "primary" is merely convention, so far as I
am aware (talking relational theory, here, not how databases regard
primary keys).

In a table with no columns, the only candidate key is the set of all
fields, which is the empty set.  If you want to call that the primary
key, it shouldn't be a problem.  The tuples (all 0 of them) are
guaranteed to be unique.

-- 
Ray Brinzer

В списке pgsql-general по дате отправления
От: John R Pierce
Дата:
От:
Дата:
FAQ