Re: TEXT column and indexing - Mailing list pgsql-performance

From Manfred Koizar
Subject Re: TEXT column and indexing
Date
Msg-id o86nrvk658f8jfr503f8c9sidmk0hlnt8u@email.aon.at
Whole thread Raw
In response to TEXT column and indexing  (Ian Barwick <barwick@gmx.net>)
Responses Re: TEXT column and indexing
List pgsql-performance
On Wed, 19 Nov 2003 10:18:18 +0100, Ian Barwick <barwick@gmx.net>
wrote:
>Indexes:
>    [...]
>    "opv_v_ix" btree (substr(value, 1, 128))

>SELECT obj_property_id
>  FROM object_property_value opv
> WHERE opv.value = 'foo'

Try
    ... WHERE substr(opv.value, 1, 128) = 'foo'

HTH.
Servus
 Manfred

pgsql-performance by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: TEXT column and indexing
Next
From: Josh Berkus
Date:
Subject: Re: More detail on settings for pgavd?