OSDN Git Service

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 18:00:34 +0000 (20:00 +0200)
commit7b99cfbe565e1b2193cefff79f2476c8373b7c61
treec2f6a988485cf3a896ee3bdb33472e8d3d6a37b4
parenteff933531e7f7d98ba02402c7821b0b7ea8f1d97
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