initdb ignores invalid locale names - Mailing list pgsql-hackers

From Peter Eisentraut
Subject initdb ignores invalid locale names
Date
Msg-id 200609222015.33793.peter_e@gmx.net
Whole thread Raw
Responses Re: initdb ignores invalid locale names  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: initdb ignores invalid locale names  ("Greg Sabino Mullane" <greg@turnstep.com>)
List pgsql-hackers
When initdb is given an invalid (possibly mistyped) locale name, it just 
prints a warning and proceeds with the default locale from the 
environment.  Someone already wondered about this before:
   /* should we exit here? */   if (!ret)       fprintf(stderr, _("%s: invalid locale name \"%s\"\n"), progname,
      locale);
 
   return ret;

I obviously think we should.  Why shouldn't we?

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Release Notes: Major Changes in 8.2
Next
From: AgentM
Date:
Subject: Re: advisory locks and permissions