Non-replicated index allowing comparison ("<")? - Mailing list pgsql-general

From Björn Edström
Subject Non-replicated index allowing comparison ("<")?
Date
Msg-id CAMEeHVyF_uB1YybTduVOvxeO5uTaqM9cSK0G878BV4osiR-xZw@mail.gmail.com
Whole thread Raw
Responses Re: Non-replicated index allowing comparison ("<")?  (Magnus Hagander <magnus@hagander.net>)
List pgsql-general
Greetings list.

I have a Postgresql 9.0.8 cluster with one master and a few slaves, in
a hot standby and streaming replication setup. The setup has a single
database with a single table. The table has a column "updated" of type
"timestamp".

For maintenance reasons I'd like to create a B-tree (or at least some
kind of index allowing fast comparisons, "<" and ">" at least).
However, I'd, if possible, like to create this index on a single
machine in the cluster and not have it replicated everywhere. When the
maintenance is done the index should be removed. Hash indices will not
work in this case - it's non-replicated but does not work for
comparisons.

Ideas?

Best regards
Björn


pgsql-general by date:

Previous
From: wd
Date:
Subject: Is there a working pgsql-fdw for PostgreSQL 9.2?
Next
From: Magnus Hagander
Date:
Subject: Re: Non-replicated index allowing comparison ("<")?