From: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> |
---|---|
To: | Konstantin Knizhnik <k(dot)knizhnik(at)postgrespro(dot)ru>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: AS OF queries |
Date: | 2017-12-20 13:12:30 |
Message-ID: | 1513775550.2590.27.camel@cybertec.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Konstantin Knizhnik wrote:
> I wonder if Postgres community is interested in supporting time travel
> queries in PostgreSQL (something like AS OF queries in Oracle:
> https://docs.oracle.com/cd/B14117_01/appdev.101/b10795/adfns_fl.htm)
> As far as I know something similar is now developed for MariaDB.
I think that would be a good thing to have that could make
the DBA's work easier - all the requests to restore a table
to the state from an hour ago.
> I failed to support AS OF clause (as in Oracle) because of shift-reduce
> conflicts with aliases,
> so I have to introduce new ASOF keyword. May be yacc experts can propose
> how to solve this conflict without introducing new keyword...
I think it would be highly desirable to have AS OF, because that's
the way the SQL standard has it.
Yours,
Laurenz Albe
From | Date | Subject | |
---|---|---|---|
Next Message | Konstantin Knizhnik | 2017-12-20 13:48:35 | Re: AS OF queries |
Previous Message | Feike Steenbergen | 2017-12-20 13:00:42 | Re: Add hint about replication slots when nearing wraparound |