pgsql: Avoid palloc before CurrentMemoryContext is set up on win32

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Avoid palloc before CurrentMemoryContext is set up on win32
Date: 2011-04-01 18:01:40
Message-ID: E1Q5ifE-0006Ra-3c@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5735efee15540765315aa8c1a230575e756037f7

Modified Files
--------------
src/backend/utils/error/elog.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message User Achernow 2011-04-02 13:57:00 libpqtypes - libpqtypes: add LDFLAGS to build pf regression test, libpq
Previous Message Robert Haas 2011-04-01 17:37:58 Re: [COMMITTERS] pgsql: Support comments on FOREIGN DATA WRAPPER and SERVER objects.