Re: snapshot leak and core dump with serializable transactions - Mailing list pgsql-hackers

From Tom Lane
Subject Re: snapshot leak and core dump with serializable transactions
Date
Msg-id 6865.1228313563@sss.pgh.pa.us
Whole thread Raw
In response to snapshot leak and core dump with serializable transactions  ("Pavan Deolasee" <pavan.deolasee@gmail.com>)
Responses Re: snapshot leak and core dump with serializable transactions
List pgsql-hackers
"Pavan Deolasee" <pavan.deolasee@gmail.com> writes:
> 2. In CommitTransaction(), I think we should call AtEOXact_Snapshot *before*
> releasing the resource owners.

That's absolutely wrong.  It'll complain about whatever snapshots the
owners still hold.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Visibility map, partial vacuums
Next
From: "Hitoshi Harada"
Date:
Subject: tuplestore potential performance problem