Re: WIP: System Versioned Temporal Table

Поиск
Список
Период
Сортировка
От Vik Fearing
Тема Re: WIP: System Versioned Temporal Table
Дата
Msg-id 41d04d58-50ff-e794-93e8-ff59f35f646f@postgresfriends.org
обсуждение исходный текст
Ответ на Re: WIP: System Versioned Temporal Table  (Corey Huinker <corey.huinker@gmail.com>)
Ответы Re: WIP: System Versioned Temporal Table
Re: WIP: System Versioned Temporal Table
Список pgsql-hackers
On 1/24/22 00:16, Corey Huinker wrote:
>> - Table schemas change, and all (SV active) AV items would logically
>> need to fit the active schema or be updated to do so. Different story
>> for SV, nothing there should ever need to be changed.
>>
> Yeah, there's a mess (which you state below) about what happens if you
> create a table and then rename a column, or drop a column and add a
> same-named column back of another type at a later date, etc. In theory,
> this means that the valid set of columns and their types changes according
> to the time range specified. I may not be remembering correctly, but Vik
> stated that the SQL spec seemed to imply that you had to track all those
> things.

The spec does not allow schema changes at all on a a system versioned 
table, except to change the system versioning itself.
-- 
Vik Fearing



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Fix BUG #17335: Duplicate result rows in Gather node
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [RFC] building postgres with meson - perl embedding