pgsql: Fix machine-dependent crash in sqlchar_to_unicode().

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix machine-dependent crash in sqlchar_to_unicode().
Date: 2006-12-24 00:57:48
Message-ID: 20061224005748.B7BD39F93A2@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix machine-dependent crash in sqlchar_to_unicode(). Get rid of
bletcherous and unsafe manipulation of global encoding setting.
Clean up libxml reporting mechanism a bit (it still looks like a
dangling-pointer crash waiting to happen, though, not to mention
being far less than sane from a localization standpoint).

Modified Files:
--------------
pgsql/src/backend/utils/adt:
xml.c (r1.3 -> r1.4)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/xml.c.diff?r1=1.3&r2=1.4)
pgsql/src/backend/utils/mb:
mbutils.c (r1.60 -> r1.61)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/mb/mbutils.c.diff?r1=1.60&r2=1.61)
pgsql/src/include/mb:
pg_wchar.h (r1.69 -> r1.70)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/mb/pg_wchar.h.diff?r1=1.69&r2=1.70)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2006-12-24 01:44:59 Loose ends in PG XML patch
Previous Message Tom Lane 2006-12-24 00:29:20 pgsql: Code review for XML patch.