Re: WIP: System Versioned Temporal Table

From: legrand legrand <legrand_legrand(at)hotmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: WIP: System Versioned Temporal Table
Date: 2020-01-05 15:01:44
Message-ID: 1578236504868-0.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Vik Fearing-4 wrote
> On 05/01/2020 11:16, Surafel Temesgen wrote:
>>
>>
>> On Fri, Jan 3, 2020 at 4:22 PM Vik Fearing
>> &lt;

> vik.fearing@

> &lt;mailto:

> vik.fearing@

> &gt;> wrote:
>>
>
> [...]
>
> You only test FROM-TO and with a really wide interval.  There are no
> tests for AS OF and no tests for BETWEEN-AND.
>
>
> As for the syntax, you have:
>
>
> select a from for stest0 system_time from '2000-01-01 00:00:00.00000' to
> 'infinity' ORDER BY a;
>
>
> when you should have:
>
>
> select a from stest0 for system_time from '2000-01-01 00:00:00.00000' to
> 'infinity' ORDER BY a;
>
>
> That is, the FOR should be on the other side of the table name.
>
> [...]
>
> Vik Fearing

Hello,

I though that standard syntax was "AS OF SYSTEM TIME"
as discussed here
https://www.postgresql.org/message-id/flat/A254CDC3-D308-4822-8928-8CC584E0CC71%40elusive.cx#06c5dbffd5cfb9a20cdeec7a54dc657f
, also explaining how to parse such a syntax .

Regards
PAscal

--
Sent from: https://www.postgresql-archive.org/PostgreSQL-hackers-f1928748.html

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message legrand legrand 2020-01-05 15:10:55 Re: Planning counters in pg_stat_statements (using pgss_store)
Previous Message Amit Kapila 2020-01-05 14:28:21 Re: parallel vacuum options/syntax