pgsql: Remove wchar.c Asserts that were stricter than the main code
Started by Bruce Momjianover 12 years ago1 messagescomitters
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(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers