Re: [HACKERS] Index created in BEFORE trigger not updated duringINSERT

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [HACKERS] Index created in BEFORE trigger not updated duringINSERT
Дата
Msg-id 20170603224715.5w4vnmpu2zypucfv@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: [HACKERS] Index created in BEFORE trigger not updated during INSERT  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 2017-06-03 18:23:33 -0400, Tom Lane wrote:
> Attached is a proposed patch that closes off this problem.  I've tested
> it to the extent that it blocks Albe's example and passes check-world.

Cool.

> I'm unsure whether to back-patch or not; the main argument for not doing
> so is that if any extensions are calling DefineIndex() directly, this
> would be an API break for them.  Given what a weird case this is, I'm not
> sure it's worth that.

I slightly lean against backpatching, it has taken long to be reported,
and it's pretty easy to work around...

- Andres



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] Index created in BEFORE trigger not updated during INSERT
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] Extra Vietnamese unaccent rules