Re: Assertion failure with a subtransaction and cursor - Mailing list pgsql-bugs

From Heikki Linnakangas
Subject Re: Assertion failure with a subtransaction and cursor
Date
Msg-id 4B181DA0.50707@enterprisedb.com
Whole thread Raw
In response to Re: Assertion failure with a subtransaction and cursor  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #5231: SELECT DISTINCT poorly implemented vs SELECT ... GROUP BY
Next
From: "David Gardner"
Date:
Subject: BUG #5232: plpythonu s=s.op() raises an exception