Re: AS OF queries

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: AS OF queries
Дата
Msg-id 1513775550.2590.27.camel@cybertec.at
обсуждение исходный текст
Ответ на AS OF queries  (Konstantin Knizhnik <k.knizhnik@postgrespro.ru>)
Ответы Re: AS OF queries  (Konstantin Knizhnik <k.knizhnik@postgrespro.ru>)
Re: AS OF queries  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Feike Steenbergen
Дата:
Сообщение: Re: Add hint about replication slots when nearing wraparound
Следующее
От: Konstantin Knizhnik
Дата:
Сообщение: Re: AS OF queries