Florian Weimer <Weimer@CERT.Uni-Stuttgart.DE> writes:
> BTW, what about embedded NUL characters in text strings? ;-)
There's approximately zero chance of that happening in the foreseeable
future. Since null-terminated strings are the API for both the parser
and all datatype I/O routines, there'd have to be a lot of code changed
to support this. To take just one example: strcoll() uses
null-terminated strings, therefore we'd not be able to support
locale-aware text comparisons unless we write our own replacement for
the entire locale library. (Which we might do someday, but it's not
a trivial task.)
The amount of pain involved seems to far outweigh the gain...
regards, tom lane