Peter Keller <peter.keller@bvv.bayern.de> writes:
> Only using a comma as a separator is not very good, because the text in the
> array can contain commas, so seperating can get impossible.
If there are any commas then the value will be quoted.
> Is the new output a bug?
I don't think so. The point was to avoid quoting numeric elements while
fixing the extremely broken rule that array_out used to use to decide
whether to quote or not. The new rule is to look at the text to decide
if it needs any quotes.
regards, tom lane