Re: snapshot leak and core dump with serializable transactions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Pavan Deolasee" <pavan(dot)deolasee(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: snapshot leak and core dump with serializable transactions
Date: 2008-12-03 14:12:43
Message-ID: 6865.1228313563@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Pavan Deolasee" <pavan(dot)deolasee(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hitoshi Harada 2008-12-03 14:15:50 tuplestore potential performance problem
Previous Message Magnus Hagander 2008-12-03 14:11:40 Re: Visibility map, partial vacuums