Avoid palloc before CurrentMemoryContext is set up on win32

Magnus Hagander <magnus@hagander.net>

Commit: 7b99cfbe565e1b2193cefff79f2476c8373b7c61
Author: Magnus Hagander <magnus@hagander.net>
Date: 2011-04-01T18:00:34Z
Releases: 9.0.4
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