Fix array_out's failure to backslash backslashes, per bug# 524. Also,
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 29 Nov 2001 21:02:41 +0000 (21:02 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 29 Nov 2001 21:02:41 +0000 (21:02 +0000)
commit636a939fe54d317099e8574997d96975a54c792b
treea355959c7fb779906dcf5b569925ae93f1953287
parenta4e8cd306c295e4a959e04d4aa20e53d8c9ae2e6
Fix array_out's failure to backslash backslashes, per bug# 524.  Also,
remove brain-dead rule that double quotes are needed if and only if the
datatype is pass-by-reference; neither direction of the implication holds
water.  Instead, examine the actual data string to see if it contains
any characters that force us to quote it.
Add some documentation about quoting of array values, which was previously
explained nowhere AFAICT.
doc/src/sgml/array.sgml
src/backend/utils/adt/arrayfuncs.c
src/test/regress/expected/arrays.out