Re: BUG or strange behaviour of update on primary key

Поиск
Список
Период
Сортировка
От Royce Ausburn
Тема Re: BUG or strange behaviour of update on primary key
Дата
Msg-id 99408B08-369C-4ACA-98DF-057313513BE3@inomial.com
обсуждение исходный текст
Ответ на Re: BUG or strange behaviour of update on primary key  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: BUG or strange behaviour of update on primary key
Список pgsql-hackers
On 18/10/2011, at 1:00 PM, Robert Haas wrote:

> On Mon, Oct 17, 2011 at 7:30 PM, desmodemone <desmodemone@gmail.com> wrote:
>> Seems an Oracle bug not Postgresql one!
> 
> I don't think it's a bug for it to work.  It'd probably work in
> PostgreSQL too, if you inserted (2) first and then (1).  It's just
> that, as Tom says, if you want it to be certain to work (rather than
> depending on the order in which the rows are inserted), you need the
> checks to be deferred.

Do deferred checks such as this have a memory impact for bulk updates?


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: HeapTupleHeaderAdvanceLatestRemovedXid doing the wrong thing with multixacts
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG or strange behaviour of update on primary key