Re: BUG #17886: Error disabling user triggers on a partitioned table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #17886: Error disabling user triggers on a partitioned table
Дата
Msg-id 2005410.1680713849@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #17886: Error disabling user triggers on a partitioned table  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-bugs
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> On 2023-Apr-04, Tom Lane wrote:
>> I'm inclined to think that in the older branches (pre f4566345c)
>> we need to do
>> -       if (oldtrig->tgisinternal)
>> +       if (oldtrig->tgisinternal && !OidIsValid(oldtrig->tgparentid))
>> but I've not tested that.  Alvaro, what do you think?

> Oh, that's a nice and clean solution.  I tested it (on 13 and 14) and it
> does solve the problem, and no regression tests fail, but I didn't try
> to break it further.  12 and back are unaffected, for lack of
> 86f575948c77.

Pushed, thanks for looking at it.

            regards, tom lane



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

Предыдущее
От: Mats Kindahl
Дата:
Сообщение: Re: BUG #17876: Function width_bucket() for float8 input returns value out of range
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #17887: EDB Community Installer for windows, locale selection not working properly