Re: B-tree "finish incomplete split" bug

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: B-tree "finish incomplete split" bug
Date: 2009-02-27 16:10:15
Message-ID: 20090227161015.GA2906@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com> writes:
> > The trivial fix is to not call CacheInvalidateRelcache() in recovery
> > (patch attached). Another option is to put the check into
> > CacheInvalidateRelcache() itself, but in the name of consistency we
> > should then put the same check into the other CacheInvalidate* variants
> > as well. As nbtinsert.c is the only place that calls
> > CacheInvalidateRelcache during WAL replay, I'm going to do the trivial fix.
>
> This will need to be revisited if we ever hope to get read-only slaves
> working. But I agree with the trivial fix for now (especially in the
> back branches).

Is this being handled by the hot standby patch?

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2009-02-27 16:18:27 Re: BUG #4680: Server crashed if using wrong (mismatch) conversion functions
Previous Message Tom Lane 2009-02-27 15:56:36 Re: BUG #4680: Server crashed if using wrong (mismatch) conversion functions