]> granicus.if.org Git - postgresql/commit
Avoid palloc before CurrentMemoryContext is set up on win32
authorMagnus Hagander <magnus@hagander.net>
Fri, 1 Apr 2011 17:58:36 +0000 (19:58 +0200)
committerMagnus Hagander <magnus@hagander.net>
Fri, 1 Apr 2011 17:59:44 +0000 (19:59 +0200)
commit5735efee15540765315aa8c1a230575e756037f7
tree5b60487e70d70414dd831f647af3e1de7562e270
parente49ad77ff958b380ea6fa08c72e2dce97ac56c6b
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
src/backend/utils/error/elog.c