Thanks to visit codestin.com
Credit goes to postgrespro.com

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

From Tom Lane
Subject Re: create index with substr function
Date
Msg-id [email protected]
Whole thread Raw
In response to create index with substr function  ("Ray" <[email protected]>)
Responses Re: create index with substr function
List pgsql-performance
"Ray" <[email protected]> writes:
> CREATE INDEX idx_doc_substr_doc_urn ON doc USING btree (SUBSTR(doc_urn,10));
> ERROR:  parser: parse error at or near "10" at character 68

This will work in 7.4, but not older releases.

            regards, tom lane

pgsql-performance by date:

Previous
From: "Ray"
Date:
Subject: create index with substr function
Next
From: Stephan Szabo
Date:
Subject: Re: create index with substr function