Re: Assertion failure with a subtransaction and cursor

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Assertion failure with a subtransaction and cursor
Дата
Msg-id 4B181DA0.50707@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Assertion failure with a subtransaction and cursor  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Tom Lane wrote:
> Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
>> Ok, committed that way. I made the cross-check a WARNING. That seems
>> like the right level of seriousness, although I see that many of the
>> other similar checks are Asserts.
>
> Looks good.  I'm a bit tempted to rename the interXact argument to
> something like noOwner --- no change in API, just name it a bit closer
> to what it actually does now.  Thoughts?

Well, I did keep the cross-check at end-of-transaction, so it's not a
complete misnomer as it is; a file opened with interXact=false can't be
used across transactions. I won't object if you feel like renaming it,
though.

--
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: BUG #5231: SELECT DISTINCT poorly implemented vs SELECT ... GROUP BY
Следующее
От: "David Gardner"
Дата:
Сообщение: BUG #5232: plpythonu s=s.op() raises an exception