Re: [HACKERS] Restrict concurrent update/delete with UPDATE of partition key

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Restrict concurrent update/delete with UPDATE of partition key
Дата
Msg-id 10896.1520521635@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Restrict concurrent update/delete with UPDATE ofpartition key  (Pavan Deolasee <pavan.deolasee@gmail.com>)
Ответы Re: [HACKERS] Restrict concurrent update/delete with UPDATE ofpartition key  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Pavan Deolasee <pavan.deolasee@gmail.com> writes:
> I am actually very surprised that 0001-Invalidate-ip_blkid-v5.patch does
> not do anything to deal with the fact that t_ctid may no longer point to
> itself to mark end of the chain. I just can't see how that would work.
> ...
> I am actually worried that we're tinkering with ip_blkid to handle one
> corner case of detecting partition key update. This is going to change
> on-disk format and probably need more careful attention.

You know, either one of those alone would be scary as hell.  Both in
one patch seem to me to be sufficient reason to reject it outright.
Not only will it be an unending source of bugs, but it's chewing up
far too much of what few remaining degrees-of-freedom we have in the
on-disk format ... for a single purpose that hasn't even been sold as
something we have to have.

Find another way.

            regards, tom lane


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

Предыдущее
От: "Shinoda, Noriyoshi"
Дата:
Сообщение: RE: unique indexes on partitioned tables
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: unique indexes on partitioned tables