Thien-Thi Nguyen <ttn(at)glug(dot)org> writes:
> regarding previous grousing regarding array output not being
> consistently quoted, what do you think of the following patch?
> it jams `nq' when the `typbyval' is not `true' on the presumption
> that typbyval is a good way to distinguish numeric/non-numeric.
That was what the pre-7.2 coding did, and it was broken. Types abstime
and "char" are counterexamples in one direction, and float8 and numeric
are counterexamples in the other. (And that's not even considering
user-defined datatypes.) We are not going back to that.
regards, tom lane