Re: Proposal: temporal extension "period" data type
От | Hannu Krosing |
---|---|
Тема | Re: Proposal: temporal extension "period" data type |
Дата | |
Msg-id | 1211825403.8025.12.camel@huvostro обсуждение исходный текст |
Ответ на | Re: Proposal: temporal extension "period" data type (Jeff Davis <pgsql@j-davis.com>) |
Ответы |
Re: Proposal: temporal extension "period" data type
|
Список | pgsql-hackers |
On Mon, 2008-05-26 at 10:59 -0700, Jeff Davis wrote: > On Mon, 2008-05-26 at 06:49 -0400, Andrew Dunstan wrote: > > > * temporal foreign keys > > > * temporal joins > > > > > > > Maybe I'm being dense, but how does inclusion in core help you do these > > things? Or, more precisely, how does non-inclusion in core prevent them. > > Temporal FK's can be implemented with triggers, but can't be > implemented with the current FK syntax and mechanism. Any extensions to > the FK syntax to support this would need to be done in postgres. > > Temporal joins can be implemented by joining with the "overlaps" > operator and selecting the intersection of the two period columns. > Anything added would be syntactic sugar. Either overlaps or contains seem valid join operators Will there be UNIQUE (non-overlapping) indexes for period ? -------------- Hannu
В списке pgsql-hackers по дате отправления: