Re: segmentation fault using currtid and partitioned tables

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: segmentation fault using currtid and partitioned tables
Дата
Msg-id 8856.1590714710@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: segmentation fault using currtid and partitioned tables  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2020-04-05 12:51:56 -0400, Tom Lane wrote:
>> I think it might be a good idea to make relations-without-storage
>> set up rd_tableam as a vector of dummy functions that will throw
>> some suitable complaint about "relation lacks storage".  NULL is
>> a horrible default for this.

> OTOH, it's kinda annoying having to maintain a not insignificant number
> of functions that needs to be updated whenever the tableam interface
> evolves.

That argument sounds pretty weak.  If you're making breaking changes
in the tableam API, updating the signatures (not even any code) of
some dummy functions seems like by far the easiest part.

            regards, tom lane



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

Предыдущее
От: Andy Fan
Дата:
Сообщение: Re: Make the qual cost on index Filter slightly higher than qual coston index Cond.
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: Trouble with hashagg spill I/O pattern and costing