diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2012-02-20 15:01:03 -0500 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2012-02-20 15:01:03 -0500 |
commit | 83fcaffea2b55152e45fdcaf3fdaf4c0c89f65ce (patch) | |
tree | 03fb078fb180794ea513b895963d537a3d4b21f3 /src/backend/utils/adt/arrayutils.c | |
parent | 5223f96d92fd6fb6fcf260da9f9cb111831f0b37 (diff) | |
download | postgresql-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