Re: More then 1600 columns? - Mailing list pgsql-general

From Peter Bex
Subject Re: More then 1600 columns?
Date
Msg-id 20101112074857.GB16653@frohike.homeunix.org
Whole thread Raw
In response to Re: More then 1600 columns?  (Dmitriy Igrishin <dmitigr@gmail.com>)
List pgsql-general
On Fri, Nov 12, 2010 at 10:43:14AM +0300, Dmitriy Igrishin wrote:
> Hey Peter,
>
> Unfortunately, there is no indexes on arrays (only on expressions).
> With hstore we can easily create GiST index for effective access.

True. In my project I only ever needed to search on a particular key,
and I made sure that that key always had a fixed position in the array.
You can then create an index on the expression that extracts that
index from the array.

Cheers,
Peter
--
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                            -- Donald Knuth

pgsql-general by date:

Previous
From: Dmitriy Igrishin
Date:
Subject: Re: More then 1600 columns?
Next
From: Pavel Stehule
Date:
Subject: Re: More then 1600 columns?