summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane2013-06-09 22:39:27 +0000
committerTom Lane2013-06-09 22:39:27 +0000
commit5cd77baab32a54da7534ca92e195dc0bc2e44ff4 (patch)
treef077ad7958c688b55072f04db2b3ff34cb15817d /doc/src
parent5f4a3116865c6482f6e62f4ec4c9152053bc28ca (diff)
Remove unnecessary restrictions about RowExprs in transformAExprIn().
When the existing code here was written, it made sense to special-case RowExprs because that was the only way that we could handle row comparisons at all. Now that we have record_eq() and arrays of composites, the generic logic for "scalar" types will in fact work on RowExprs too, so there's no reason to throw error for combinations of RowExprs and other ways of forming composite values, nor to ignore the possibility of using a ScalarArrayOpExpr. But keep using the old logic when comparing two RowExprs, for consistency with the main transformAExprOp() logic. (This allows some cases with not-quite-identical rowtypes to succeed, so we might get push-back if we removed it.) Per bug #8198 from Rafal Rzepecki. Back-patch to all supported branches, since this works fine as far back as 8.4. Rafal Rzepecki and Tom Lane
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions