Re: Corruption with IMMUTABLE functions in index expression.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Corruption with IMMUTABLE functions in index expression.
Дата
Msg-id 540491.1634008894@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Corruption with IMMUTABLE functions in index expression.  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2021-10-11 14:59:22 -0400, Tom Lane wrote:
>> I doubt we need any code changes beyond changing the indisvalid state.

> I was thinking we'd want to throw an error if an index that's being created is
> accessed during the index build, rather than just not include it in
> planning...

AFAICT we *will* throw an error, just not a very intelligible one.
But until someone's shown another way to reach that error besides
the planner's path, I'm not thinking we need to expend effort on
making the error nicer.

            regards, tom lane



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Corruption with IMMUTABLE functions in index expression.
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: Allow escape in application_name