Re: Flag for insentive use of Postgres? - Mailing list pgsql-general

From Andreas Schlegel
Subject Re: Flag for insentive use of Postgres?
Date
Msg-id 3D2C48DD.9020909@software.b.uunet.de
Whole thread Raw
In response to Flag for insentive use of Postgres?  (Andreas Schlegel <schlegel@software.b.uunet.de>)
List pgsql-general
Stephane Bortzmeyer wrote:
>
>>For example: if I have a name1 colum with a value 'Test' I would like to
>>search for 'test' and get also this row
>>(select * from tTest where name1='test')
>
>
> And name1 = 'MASSE' when you requested name1 = 'Maße'? So, even with
> Latin-1, you have a problem.
>
In the meantime I got a message with a quite good solution:
... WHERE lower(name1)='test'

The mentioned problem with phrases like 'Maße' is in this application no
problem: For every field value the programm creates some matchcodes
which contain the original value (Maße) and values with replaced
characters( ß -> ss, Ä -> Ae ...). So the user doesn't care if he is
looking for 'Maße' or 'Masse'.

Greetings,
Andreas



pgsql-general by date:

Previous
From: nconway@klamath.dyndns.org (Neil Conway)
Date:
Subject: Re: Flag for insentive use of Postgres?
Next
From: Alex Rice
Date:
Subject: abuse of inheritance?