Re: Internationalization - Mailing list pgsql-general

From Tom Lane
Subject Re: Internationalization
Date
Msg-id 15363.1088645326@sss.pgh.pa.us
Whole thread Raw
In response to Internationalization  (Dennis Gearon <gearond@fireserve.net>)
Responses Re: Internationalization
List pgsql-general
Dennis Gearon <gearond@fireserve.net> writes:
> Is there anyway for a single statement to access more than one database?
> Could a query, regexes, etc be facing indexes in different
> encodings/sorting collations if different databases in a cluster had
> different encodings/collations?

The indexes on the shared system tables (eg, pg_database) are the only
issue here.  One possible solution is to require that no locale-aware
datatypes ever be used in these indexes.  I think right now this is true
because "name" doesn't use locale-aware sorting; but we'd have to be
careful not to break the restriction in future.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: ~Strange Operators~
Next
From: Tom Lane
Date:
Subject: Re: case for lock_timeout