diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2017-07-12 18:00:04 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2017-07-12 18:00:04 -0400 |
commit | aea1a3f0ebfcbe17f3ce89cf4cf9bd20828c199e (patch) | |
tree | 64f8b75a9a2f59718460dc820b9055e552aa4006 /src/backend/storage/ipc/procarray.c | |
parent | 11854dee01e582e83d87fc2b3a5316f2d44852b3 (diff) |
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/storage/ipc/procarray.c')
0 files changed, 0 insertions, 0 deletions