Re: AS OF queries - Mailing list pgsql-hackers

From Laurenz Albe
Subject Re: AS OF queries
Date
Msg-id 1513775550.2590.27.camel@cybertec.at
Whole thread Raw
In response to AS OF queries  (Konstantin Knizhnik <k.knizhnik@postgrespro.ru>)
Responses Re: AS OF queries
Re: AS OF queries
List 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


pgsql-hackers by date:

Previous
From: Feike Steenbergen
Date:
Subject: Re: Add hint about replication slots when nearing wraparound
Next
From: Konstantin Knizhnik
Date:
Subject: Re: AS OF queries