Re: Broken HOT chains in system catalogs

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Noah Misch <noah(at)leadboat(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Broken HOT chains in system catalogs
Date: 2011-04-16 17:04:40
Message-ID: 23926.1302973480@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Noah Misch <noah(at)leadboat(dot)com> writes:
> On Sat, Apr 16, 2011 at 11:17:53AM -0400, Tom Lane wrote:
>> [ squint... ] Won't that result in the rebuild failing outright? We
>> can't remove an index from the pending list till after it's rebuilt,
>> for obvious reasons.

> That would be a problem if an ambuild function were to call back through the
> indexam.c layer to add an individual entry. No core access method does that,
> and there's nothing I can see to recommend doing it.

Oh ... hm, I was thinking that ambuild calls were also validated using
that macro, but now I see they're not even done in this file. So it
probably does work to do it like that. It needs rather more than no
commentary, though.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Noah Misch 2011-04-16 17:05:09 Re: Bizarre reindex_relation API
Previous Message Leonardo Francalanci 2011-04-16 16:52:05 Re: switch UNLOGGED to LOGGED