Re: make LockRelation use top transaction ID

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: make LockRelation use top transaction ID
Дата
Msg-id 19662.1090590545@sss.pgh.pa.us
обсуждение исходный текст
Ответ на make LockRelation use top transaction ID  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Ответы Re: make LockRelation use top transaction ID
Список pgsql-hackers
Alvaro Herrera <alvherre@dcc.uchile.cl> writes:
> I just figured that if we let LockRelation use GetCurrentTransactionId()
> then the wrong thing happens if we let large objects survive
> subtransaction commit/abort.

> So I have changed it to use GetTopTransactionId() instead.  Is that OK
> with everybody?

No, at least not if you made that a global change.  Doing it that way
will mean that a failed subtransaction will not release its locks, no?
        regards, tom lane


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

Предыдущее
От: Dennis Bjorklund
Дата:
Сообщение: Re: Wrong index choosen?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Wrong index choosen?