Re: [HACKERS] initdb ignores invalid locale names

2006-10-02 Thread Bruce Momjian
Is this a TODO item? --- Greg Sabino Mullane wrote: [ There is text before PGP section. ] > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > > When initdb is given an invalid (possibly mistyped) locale name, it jus

Re: [HACKERS] initdb ignores invalid locale names

2006-09-22 Thread Greg Sabino Mullane
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > When initdb is given an invalid (possibly mistyped) locale name, it just > ... > /* should we exit here? */ > ... > I obviously think we should. Why shouldn't we? +1. This has been on my long-term, low-priority todo list for a while. Raising

Re: [HACKERS] initdb ignores invalid locale names

2006-09-22 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > 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) >

[HACKERS] initdb ignores invalid locale names

2006-09-22 Thread Peter Eisentraut
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\"