Re: 7.3.3 array_out tweak

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: ttn(at)glug(dot)org
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: 7.3.3 array_out tweak
Date: 2003-07-28 14:11:52
Message-ID: 9064.1059401512@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Wheeler 2003-07-28 14:41:52 ANNOUNCE: Bricolage 1.6.2
Previous Message Aspire 2003-07-28 14:00:09 Re: Jabber Interface