Pavel Stehule <pavel.stehule@gmail.com> writes:
> 2009/7/25 Tom Lane <tgl@sss.pgh.pa.us>:
>> There already is a definition for what string_to_array does with an
>> empty field separator, and that is not it.
> I thing, so nobody use empty separator in string_to_array, because it
> does nothing useful.
According to you, maybe not. But perhaps whoever coded the function
originally had a use-case in mind, or people may have come up with
one since then. In any case we have a perfectly good answer available
for anyone who wants this behavior. I see no reason to change here.
regards, tom lane