Change pg_mblen and pg_encoding_mblen return types from void
Tatsuo Ishii <ishii@postgresql.org>
Change pg_mblen and pg_encoding_mblen return types from void to int so that they return the number of whcars.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/mb/conv.c | modified | +1 −68 |
| src/backend/utils/mb/Makefile | modified | +17 −4 |
| src/backend/utils/mb/mbutils.c | modified | +5 −5 |
| src/backend/utils/mb/wchar.c | modified | +41 −12 |