Re: Failure while inserting parent tuple to B-tree is not fun

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
Cc: Peter Geoghegan <pg(at)heroku(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Failure while inserting parent tuple to B-tree is not fun
Date: 2014-03-18 20:47:12
Message-ID: 27241.1395175632@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Heikki Linnakangas <hlinnakangas(at)vmware(dot)com> writes:
> Yeah, it's a bit silly that each resource manager has to do that on
> their own. It would be useful to have a memory context that was
> automatically reset between each WAL record. In fact that should
> probably be the default memory context you run the WAL redo routines in.

+1

> But even if we do that, I'm not in a hurry to remove rm_startup/cleanup.
> They seem generally useful, even if they're not actually used for much
> anymore.

Agreed; they aren't hurting us and they could be useful.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2014-03-18 20:50:39 Re: Windows build patch
Previous Message Andres Freund 2014-03-18 20:39:00 Re: Wiki Page Draft for upcoming release