Re: Index order

From: Korry Douglas <korry(dot)douglas(at)enterprisedb(dot)com>
To: glynastill(at)yahoo(dot)co(dot)uk
Cc: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Index order
Date: 2008-09-17 19:11:01
Message-ID: CA8AA72A-3FEA-42C1-9310-9F5195662345@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message James Strater 2008-09-17 19:22:00 Re: Design question
Previous Message A B 2008-09-17 18:36:13 Textmatchning