Re: where is the locale set for each server instance? - Mailing list pgsql-general

From Tom Lane
Subject Re: where is the locale set for each server instance?
Date
Msg-id 6442.1110757044@sss.pgh.pa.us
Whole thread Raw
In response to Re: where is the locale set for each server instance?  (Palle Girgensohn <girgen@pingpong.net>)
Responses Re: where is the locale set for each server instance?  (Palle Girgensohn <girgen@pingpong.net>)
List pgsql-general
Palle Girgensohn <girgen@pingpong.net> writes:
> OK, seems my problem is with ICU. The xlog.c:ReadConfigFile() is not run
> for each backend, it seems, I assume it is forked after that.

No, it is run once in the postmaster, as indeed the comments in it say.

> Seems ICU
> cannot "remember" a setDefault(locale) call for some reason.

Curious.  You'd expect whatever state that sets to persist across a fork.
You should probably ping the ICU people about it.

            regards, tom lane

pgsql-general by date:

Previous
From: Palle Girgensohn
Date:
Subject: Re: where is the locale set for each server instance?
Next
From: Palle Girgensohn
Date:
Subject: Re: where is the locale set for each server instance?