Re: Minor bug affecting ON CONFLICT lock wait log messages

Поиск
Список
Период
Сортировка
От Julien Rouhaud
Тема Re: Minor bug affecting ON CONFLICT lock wait log messages
Дата
Msg-id 56E8028A.60806@dalibo.com
обсуждение исходный текст
Ответ на Re: Minor bug affecting ON CONFLICT lock wait log messages  (Peter Geoghegan <pg@heroku.com>)
Ответы Re: Minor bug affecting ON CONFLICT lock wait log messages  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
On 15/03/2016 03:30, Peter Geoghegan wrote:
> On Mon, Mar 7, 2016 at 1:46 PM, Peter Geoghegan <pg@heroku.com> wrote:
>> Attached patch fixes a bug reported privately by Stephen this morning.
> 
> Bump.
> 
> I would like to see this in the next point release. It shouldn't be
> hard to review.
> 

+            reason_wait = indexInfo->ii_ExclusionOps ?
+                XLTW_RecheckExclusionConstr : XLTW_InsertIndex;

Shouldn't it be set to XLTW_InsertIndexUnique instead?


Otherwise the patch seems ok to me.

> Thanks
> 


-- 
Julien Rouhaud
http://dalibo.com - http://dalibo.org



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Timeline following for logical slots
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Timeline following for logical slots