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-0006Rc-1k@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
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/7b99cfbe565e1b2193cefff79f2476c8373b7c61

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.