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 | ff2d5372235dae339cbfa04aa55a8458cd6bfab8 (patch) | |
tree | 8a09b54e0198de5de18672a644b03fcafa1de29f /src/tutorial | |
parent | bbeec3c749bcbd9b75fc1f036979fed516f9a2c8 (diff) | |
download | postgresql-ff2d5372235dae339cbfa04aa55a8458cd6bfab8.tar.gz postgresql-ff2d5372235dae339cbfa04aa55a8458cd6bfab8.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/tutorial')
0 files changed, 0 insertions, 0 deletions