aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/json.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-07-12 18:00:04 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2017-07-12 18:00:04 -0400
commit2346f1c10bcf069d72cbf431442d535fa9e18683 (patch)
treea4704458e2984d52382600497a00e7e132006beb /src/backend/utils/adt/json.c
parent209970ded835ffe2f354220da77f3df9a7a7dab4 (diff)
downloadpostgresql-2346f1c10bcf069d72cbf431442d535fa9e18683.tar.gz
postgresql-2346f1c10bcf069d72cbf431442d535fa9e18683.zip
Fix ruleutils.c for domain-over-array cases, too.
Further investigation shows that ruleutils isn't quite up to speed either for cases where we have a domain-over-array: it needs to be prepared to look past a CoerceToDomain at the top level of field and element assignments, else it decompiles them incorrectly. Potentially this would result in failure to dump/reload a rule, if it looked like the one in the new test case. (I also added a test for EXPLAIN; that output isn't broken, but clearly we need more test coverage here.) Like commit b1cb32fb6, this bug is reachable in cases we already support, so back-patch all the way.
Diffstat (limited to 'src/backend/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions