Re: Comparing strings with non-ASCII characters - Mailing list pgsql-general

From Tom Lane
Subject Re: Comparing strings with non-ASCII characters
Date
Msg-id 27036.1037247502@sss.pgh.pa.us
Whole thread Raw
In response to Re: Comparing strings with non-ASCII characters  (Artur Rataj <arataj@iitis.gliwice.pl>)
List pgsql-general
Artur Rataj <arataj@iitis.gliwice.pl> writes:
> Thank you. I needed the ~ operator to match entries in a table being a
> full text index itself. Now I use C locale and rows are sorted outside
> Postgres, the index now is used with the expressions of the form
> ~ '^string.*', but does such expressions work correctly in C locale with
> non-ASCII characters?

Don't see why they wouldn't --- in C locale, bytes are bytes.  But you
should experiment before trusting that opinion ...

            regards, tom lane

pgsql-general by date:

Previous
From: "Williams, Travis L, NPONS"
Date:
Subject: Re: 1600 Column limit..
Next
From: Tom Lane
Date:
Subject: Re: 1600 Column limit..