pgsql: Remove wchar.c Asserts that were stricter than the main code

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove wchar.c Asserts that were stricter than the main code
Date: 2014-03-24 19:59:44
Message-ID: E1WSB28-0006ef-N0@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove wchar.c Asserts that were stricter than the main code

Assert errors were thrown for functions being passed invalid encodings,
while the main code handled it just fine.

Also document that libpq's PQclientEncoding() returns -1 for an encoding
lookup failure.

Per report from Peter Geoghegan

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5db55c6bbca28b8be4d68d2fa0e22465cfe8e755

Modified Files
--------------
doc/src/sgml/libpq.sgml | 3 ++-
src/backend/utils/mb/wchar.c | 19 +++++--------------
2 files changed, 7 insertions(+), 15 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2014-03-25 02:04:50 pgsql: doc: list unlogged tables as a non-durable option
Previous Message Bruce Momjian 2014-03-24 19:47:05 pgsql: docs: Add short "cover density" description