Re: About reindexing system indexes...

From: Christopher Browne <cbbrowne(at)ca(dot)afilias(dot)info>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: About reindexing system indexes...
Date: 2004-12-15 21:25:39
Message-ID: 607jnjdzjg.fsf@dba2.int.libertyrms.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

kleptog(at)svana(dot)org (Martijn van Oosterhout) writes:
> On Tue, Dec 14, 2004 at 05:15:08PM -0800, Tim Vadnais wrote:
>> I tried to rebuild the two indexes and got the following error. The
>> optional FORCE has no effect on the output.
>>
>> bwks=# reindex index pg_database_oid_index;
>> ERROR: shared index "pg_database_oid_index" can only be reindexed in
>> stand-alone mode
>
> How difficult would it be for the system to notice this and tag the
> index as "to be reindexed". Then, the next time the system is started
> up, it can reindexed before starting to accept connections.
>
> It would at least simplify the help in this case to "restart the server
> to do the reindexing".

Part of me wants to ask for the feature:

"On restart, always re-index all system tables..."

There are, alas, pathological cases where that wouldn't turn out
well...
--
"cbbrowne","@","ca.afilias.info"
<http://dev6.int.libertyrms.com/>
Christopher Browne
(416) 673-4124 (land)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2004-12-15 21:54:52 Re: is there a repair utility for postgresql?
Previous Message Tom Lane 2004-12-15 21:08:43 Re: could not create semaphores : No space left on device = FreeBSD port install error!