From: | Paul A Jungwirth <pj(at)illuminatedcomputing(dot)com> |
---|---|
To: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Paul Howells <paul(dot)steven(dot)howells(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Re: SQL:2011 Valid-Time Support |
Date: | 2018-05-11 01:48:07 |
Message-ID: | CA+renyUZ+3PKZW_afH=uW03EY52dr601j9hzYKdNL_68af5XLg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, May 8, 2018 at 7:13 PM, Peter Eisentraut
<peter(dot)eisentraut(at)2ndquadrant(dot)com> wrote:
> On 5/8/18 11:31, Tom Lane wrote:
>> Paul Howells <paul(dot)steven(dot)howells(at)gmail(dot)com> writes:
>>> Has there been or is there any current effort to implement SQL:2011
>>> valid-time support in Postgres?
>>
>> Searching the archives, I can only find "valid-time" appearing in these
>> threads related to temporal query processing:
>>
>> /message-id/flat/CALNdv1h7TUP24Nro53KecvWB2kwA67p%2BPByDuP6_1GeESTFgSA%40mail.gmail.com
>
> I think those are operators that work on top of having the valid-time
> available, but don't do anything about making that time available.
I think it is the reverse actually: these operators are more
general-purpose than valid time and could be used internally to
implement it, much like Postgres uses constraint triggers to implement
foreign keys. You could even leave them unexposed to the user (as
suggested in their papers), although personally I would love to have
access to them. Anyway, I think supporting valid-time tables (one way
or the other) in Postgres would be a tremendous addition.
I'm traveling and can't write much more at the moment, but I'll try to
reply more fully in a week or two. I'm happy to offer to help with
this. My only Postgres contribution so far was a tiny thing about
uuids and btree_gist, but I've spent a lot of time reading the source
code to build various extensions, and temporal databases has been an
interest of mine for several years.
Yours,
Paul
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Munro | 2018-05-11 02:00:23 | Re: [HACKERS] Clock with Adaptive Replacement |
Previous Message | Masahiko Sawada | 2018-05-11 01:05:44 | Re: Global snapshots |