detecting incompatible locale modes for encoding

J

Jaime Casanova

Hi all,

i want to develop a feature in a c program and need some help...

the context:
a problem that comes over an over with postgresql database is that when
you initialize the cluster you can specify an encoding and different
locales to be used with that encoding...

so you can end up with combinations like this:

lc_collate | hu_HU
lc_ctype | hu_HU
lc_messages | en_US
lc_monetary | en_US
lc_numeric | en_US
lc_time | en_US
server_encoding | LATIN2

that apparently is a wrong combination, but postgres doesn't know how
to detect wich locale is incompatible with the encoding set for the
database...

i want to work on that, but i need to find if there is a way to figure
that...

the question:
any papers that can guide me on this?

regards,
Jaime Casanova
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,053
Latest member
BrodieSola

Latest Threads

Top