Re: B-tree "finish incomplete split" bug

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com>
Cc: "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: B-tree "finish incomplete split" bug
Date: 2008-06-11 14:15:41
Message-ID: 6611.1213193741@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"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).

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-06-11 14:56:08 Re: Proposal: Multiversion page api (inplace upgrade)
Previous Message Zdenek Kotala 2008-06-11 14:11:59 Proposal: Multiversion page api (inplace upgrade)