"Magnus Hagander" <mha(at)sollentuna(dot)net> writes:
> This patch is required for initdb to work on win32 with NLS enabled.
> Without it we get a segfault when trying to determine the current
> locale, since we can't get it using LC_MESSAGES.
Applied.
regards, tom lane