Re: Statement-level Triggers For Uniqueness Checks

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Statement-level Triggers For Uniqueness Checks
Дата
Msg-id 3f6792a4-adc0-5b57-11c2-a85f9094ac6e@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Statement-level Triggers For Uniqueness Checks  (Corey Huinker <corey.huinker@gmail.com>)
Ответы Re: Statement-level Triggers For Uniqueness Checks  (Corey Huinker <corey.huinker@gmail.com>)
Список pgsql-hackers
On 25/12/2018 00:56, Corey Huinker wrote:
> The regression diff (attached) seems to imply that the triggers simply
> are not firing, though.

The reason for this was explained by Dean.  If you take out the check
that he mentioned, then your trigger fires but crashes.  In your changed
unique_key_recheck(), "slot" is not initialized before use (or ever).

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Using POPCNT and other advanced bit manipulation instructions
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Allow auto_explain to log to NOTICE