Re: create index with substr function - Mailing list pgsql-performance

From Ray
Subject Re: create index with substr function
Date
Msg-id 078b01c4b71f$4936e4e0$0f6010ac@raysiu
Whole thread Raw
In response to create index with substr function  ("Ray" <ray_siu@ge-ts.com.hk>)
Responses Re: create index with substr function  (george young <gry@ll.mit.edu>)
List pgsql-performance
sorry it doesn't works, as my postgres is 7.3 not 7.4. any other alternative
solution for version after 7.4??

Thank
Ray : )

----- Original Message -----
From: "Rosser Schwarz" <rosser.schwarz@gmail.com>
To: "Ray" <ray_siu@ge-ts.com.hk>
Cc: <pgsql-performance@postgresql.org>
Sent: Thursday, October 21, 2004 11:34 AM
Subject: Re: [PERFORM] create index with substr function


> while you weren't looking, Ray wrote:
>
> > CREATE INDEX idx_doc_substr_doc_urn ON doc USING btree
(SUBSTR(doc_urn,10));
>
> CREATE INDEX idx_doc_substr_doc_urn ON doc USING btree
((SUBSTR(doc_urn,10)));
>
> You need an additional set of parens around the SUBSTR() call.
>
> /rls
>
> --
> :wq
>


pgsql-performance by date:

Previous
From: Rosser Schwarz
Date:
Subject: Re: create index with substr function
Next
From: "Joshua D. Drake"
Date:
Subject: Re: create index with substr function