Re: Index order - Mailing list pgsql-general

From Korry Douglas
Subject Re: Index order
Date
Msg-id CA8AA72A-3FEA-42C1-9310-9F5195662345@enterprisedb.com
Whole thread Raw
In response to Re: Index order  (Glyn Astill <glynastill@yahoo.co.uk>)
Responses Re: Index order
List pgsql-general
> Hmm, I understand what you're saying, but how ion earth do I create
> a function that reorders the result based on all the different
> characters ^ . * etc that could cause this?

Write a function that strips out the characters you want to ignore
(returning the rest of the given string) and then create an index on
that function.

(Please note: that's an answer to the question that you asked above,
not necessarily a recommendation that you choose this particular
collation strategy).


                -- Korry


pgsql-general by date:

Previous
From: Mike Diehl
Date:
Subject: Design question
Next
From: James Strater
Date:
Subject: Re: Design question