getdatabaseencoding() and PG_encoding_to_char() were being sloppy about
Tom Lane <tgl@sss.pgh.pa.us>
getdatabaseencoding() and PG_encoding_to_char() were being sloppy about converting char* strings to type 'name'. Imagine my surprise when 7.1 release coredumped upon start when compiled --enable-multibyte ...
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/init/miscinit.c | modified | +3 −3 |
| src/backend/utils/mb/common.c | modified | +3 −2 |
| src/backend/utils/mb/mbutils.c | modified | +4 −2 |