Avoid palloc before CurrentMemoryContext is set up on win32

Magnus Hagander <magnus@hagander.net>

Commit: 5735efee15540765315aa8c1a230575e756037f7
Author: Magnus Hagander <magnus@hagander.net>
Date: 2011-04-01T17:59:44Z
Releases: 9.1.0
Avoid palloc before CurrentMemoryContext is set up on win32

Instead, write the unconverted output - it will be in the wrong
encoding, but at least we don't crash.

Rushabh Lathia

Files

PathChange+/−
src/backend/utils/error/elog.c modified +5 −1