Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I don't understand. I moved it up little in the file, but those calls
> were happening in that file before, just a little lower.
No, *that* call wasn't happening at all. The calls that were there
were setting certain limited, safe LC categories. You added a call
that sets *all* LC categories, including ones we do not want changed.
See the discussion in src/backend/utils/adt/pg_locale.c.
regards, tom lane