clean up obsolete initdb locale handling - Mailing list pgsql-hackers

From Peter Eisentraut
Subject clean up obsolete initdb locale handling
Date
Msg-id eeaf2f99-a1a6-8aca-3f43-9ab0b2fb112a@2ndquadrant.com
Whole thread Raw
Responses Re: clean up obsolete initdb locale handling  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
A long time ago, we changed LC_COLLATE and LC_CTYPE from cluster-wide to
per-database (61d967498802ab86d8897cb3c61740d7e9d712f6).  There is some
leftover code from that in initdb.c and backend/main/main.c to pass
these environment variables around in the expectations that the backend
will write them to pg_control during bootstrap, which is of course all a
lie now.

The attached patch cleans that up.  (Not totally sure about the WIN32
block, but the change seems good to me.)

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment

pgsql-hackers by date:

Previous
From: Chapman Flack
Date:
Subject: Re: Locale support
Next
From: Tom Lane
Date:
Subject: Re: PG_TRY()/CATCH() in a loop reports uninitialized variables