Forum OpenACS Development: Response to If your installation is failing at acs-content-repository...

OOPS!  My mistake, PG 7.1 RPMs set LANG=C, but 7.1.2-4PGDG does all sorts of fancy stuff trying to remember the initdb-time locale info, and to use that remembered locale when starting postmaster...

Looks like this change was done by mailto:teg@redhat.com, who commented:

# Handle locales slightly differently - always using "C" isn't a valid option

Hmmm.  Always using "C" was a nicely valid option for OpenACS... but since the official PG RPMs no longer do that, we can't rely on it.
So we'll need to go the 'test, and complain if it uses an interesting locale' approach?  Can the logic used in pg_controldata.c (basically reading and formatting info from the PG "control file") be recoded in TCL perhaps?