Re: Minor bug affecting ON CONFLICT lock wait log messages
От | Alvaro Herrera |
---|---|
Тема | Re: Minor bug affecting ON CONFLICT lock wait log messages |
Дата | |
Msg-id | 20160315151626.GA284371@alvherre.pgsql обсуждение исходный текст |
Ответ на | Re: Minor bug affecting ON CONFLICT lock wait log messages (Stephen Frost <sfrost@snowman.net>) |
Ответы |
Re: Minor bug affecting ON CONFLICT lock wait log messages
|
Список | pgsql-hackers |
Stephen Frost wrote: > * Julien Rouhaud (julien.rouhaud@dalibo.com) wrote: > XLTW_InsertIndexUnique is used when building a unique index, but this is > just a check, and more to the point, it's actually a re-check of what > we're doing in nbinsert.c where we're already using XLTW_InsertIndex. > > We wouldn't want to end up returning different error messages for the > same command under the same conditions just based, which is what we'd > potentially end up doing if we used XLTW_InsertIndexUnique here. Perhaps we need a new value in that enum, so that the context message is specific to the situation at hand? -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: