Date: Saturday, November 25, 2000 @ 15:33:52
Author: tgl
Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/tcop
from hub.org:/home/projects/pgsql/tmp/cvs-serv37594/src/backend/tcop
Modified Files:
postgres.c
----------------------------- Log Message -----------------------------
Store current LC_COLLATE and LC_CTYPE settings in pg_control during initdb;
re-adopt these settings at every postmaster or standalone-backend startup.
This should fix problems with indexes becoming corrupt due to failure to
provide consistent locale environment for postmaster at all times. Also,
refuse to start up a non-locale-enabled compilation in a database originally
initdb'd with a non-C locale. Suppress LIKE index optimization if locale
is not "C" or "POSIX" (are there any other locales where it's safe?).
Issue NOTICE during initdb if selected locale disables LIKE optimization.