[GENERAL] quoting of array elements + sexp_out?

2003-07-24 Thread Thien-Thi Nguyen
greetings, previously (7.1.x), an array of text would be returned: {"d","e","f"} but w/ 7.3.3 i see: {d,e,f} there is mention of this in section 5.12 "Arrays" of the manual, including the unfriendly consequence: callers must be able to handle either case. my question is: why t

Re: [GENERAL] quoting of array elements + sexp_out?

2003-07-24 Thread Thien-Thi Nguyen
Date: Thu, 24 Jul 2003 11:09:41 -0400 From: Tom Lane <[EMAIL PROTECTED]> (a) So that numerics don't get quoted. (b) The original coding was wrong, since its rule for deciding when to quote had nothing to do with the contents of the string being quoted, and it could thus fail to

Re: [GENERAL] 7.3.3 array_out tweak

2003-07-28 Thread Thien-Thi Nguyen
Date: Mon, 28 Jul 2003 10:11:52 -0400 From: Tom Lane <[EMAIL PROTECTED]> 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 considerin