langauges, locales, regex, LIKE - Mailing list pgsql-general

From Dennis Gearon
Subject langauges, locales, regex, LIKE
Date
Msg-id 40DA65F2.1010201@fireserve.net
Whole thread Raw
Responses Re: langauges, locales, regex, LIKE  (Joel Matthew <rees@ddcom.co.jp>)
Re: langauges, locales, regex, LIKE  (Richard Huxton <dev@archonet.com>)
Re: langauges, locales, regex, LIKE  (John Sidney-Woollett <johnsw@wardbrook.com>)
List pgsql-general
If I've read everything right, in order to get:

    multiple languages on a site

with the functionality of ALL of:

    REGEX
    LIKE
    Correctly sorted text

A site would have to:

    create a cluster for every language needed
    run a separate database instance for every language
    and have the database instances each have their own port
    and use 8 bit encoding for that specific language

because:

    Sorting is fixed at cluster/directory creation per single
        database instance
    And LIKE only works on C Locale with an eight bit encoding
    and sorting (MAYBE?) works only on 8 bit encoding
    when using C Locale.

If anyone can correct me on this, I'd love to hear it.

Boy, the old LOCALE system has really got to go someday.

pgsql-general by date:

Previous
From: Dennis Gearon
Date:
Subject: clusters and database instances
Next
From: "LuisH"
Date:
Subject: Blob