aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/arrayutils.c
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2012-02-20 15:01:03 -0500
committerAndrew Dunstan <andrew@dunslane.net>2012-02-20 15:01:03 -0500
commit83fcaffea2b55152e45fdcaf3fdaf4c0c89f65ce (patch)
tree03fb078fb180794ea513b895963d537a3d4b21f3 /src/backend/utils/adt/arrayutils.c
parent5223f96d92fd6fb6fcf260da9f9cb111831f0b37 (diff)
downloadpostgresql-83fcaffea2b55152e45fdcaf3fdaf4c0c89f65ce.tar.gz
postgresql-83fcaffea2b55152e45fdcaf3fdaf4c0c89f65ce.zip
Fix a couple of cases of JSON output.
First, as noted by Itagaki Takahiro, a datum of type JSON doesn't need to be escaped. Second, ensure that numeric output not in the form of a legal JSON number is quoted and escaped.
Diffstat (limited to 'src/backend/utils/adt/arrayutils.c')
0 files changed, 0 insertions, 0 deletions