pgsql: Remove wchar.c Asserts that were stricter than the main code - Mailing list pgsql-committers

From Bruce Momjian
Subject pgsql: Remove wchar.c Asserts that were stricter than the main code
Date
Msg-id E1WSB28-0006ef-N0@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: docs: Add short "cover density" description
Next
From: Bruce Momjian
Date:
Subject: pgsql: doc: list unlogged tables as a non-durable option