Make text <=> char conversion functions convert zero character to and
Tom Lane <tgl@sss.pgh.pa.us>
Make text <=> char conversion functions convert zero character to and from an empty text string. This makes them consistent with the de facto behavior of type char's I/O conversion functions, and avoids generating text values with embedded nulls, which confuse many text operators.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/char.c | modified | +33 −5 |