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

From Alvaro Herrera
Subject Re: snapshot leak and core dump with serializable transactions
Date
Msg-id 20081203205541.GC18595@alvh.no-ip.org
Whole thread Raw
In response to Re: snapshot leak and core dump with serializable transactions  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: snapshot leak and core dump with serializable transactions  ("Pavan Deolasee" <pavan.deolasee@gmail.com>)
List pgsql-hackers
Heikki Linnakangas escribió:

> I'm surprised you implemented RegisterSnapshotOnOwner by switching
> CurrentResourceOwner and calling RegisterSnapshot, rather than
> implementing RegisterSnapshot by calling RegisterSnapshotOnOwner(...,
> CurrentResourceOwner).

Yeah, that was plenty silly.  Updated patch attached.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

Attachment

pgsql-hackers by date:

Previous
From: Gregory Stark
Date:
Subject: Re: Simple postgresql.conf wizard
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Simple postgresql.conf wizard