Fix type_maximum_size() to give the right answer in MULTIBYTE cases.
Tom Lane <tgl@sss.pgh.pa.us>
Fix type_maximum_size() to give the right answer in MULTIBYTE cases. Avoid use of prototype-less function pointers in MB code.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/format_type.c | modified | +15 −4 |
| src/backend/utils/mb/mbutils.c | modified | +19 −13 |
| src/backend/utils/mb/wchar.c | modified | +18 −7 |
| src/include/mb/pg_wchar.h | modified | +24 −14 |