Re: WIP: System Versioned Temporal Table

Поиск
Список
Период
Сортировка
От Vik Fearing
Тема Re: WIP: System Versioned Temporal Table
Дата
Msg-id 3a53c363-3e3f-813f-ad2f-c2f25ba8f006@postgresfriends.org
обсуждение исходный текст
Ответ на Re: WIP: System Versioned Temporal Table  (Simon Riggs <simon.riggs@enterprisedb.com>)
Ответы Re: WIP: System Versioned Temporal Table  (Simon Riggs <simon.riggs@enterprisedb.com>)
Список pgsql-hackers
On 1/26/21 1:16 PM, Simon Riggs wrote:
> On Tue, Jan 26, 2021 at 11:33 AM Vik Fearing <vik@postgresfriends.org> wrote:
>>
>> On 1/11/21 3:02 PM, Simon Riggs wrote:
>>> * UPDATE foo SET start_timestamp = DEFAULT should fail but currently doesn't
>>
>> I'm still in the weeds of reviewing this patch, but why should this
>> fail?  It should not fail.
> 
> It should not be possible for the user to change the start or end
> timestamp of a system_time time range, by definition.

Correct, but setting it to DEFAULT is not changing it.

See also SQL:2016 11.5 <default clause> General Rule 3.a.
-- 
Vik Fearing



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Allow matching whole DN from a client certificate
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: WIP: System Versioned Temporal Table