aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/sql/postgres_fdw.sql
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-06-09 18:39:20 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2013-06-09 18:39:20 -0400
commita4424c57c3da52efa212b21521abff4bf129b19e (patch)
treeb282aa382cb9528d3da171a35e276f0d2eb86e8e /contrib/postgres_fdw/sql/postgres_fdw.sql
parentf3839ea117fba6fdb69c75a1fe145aa86a4c8ae3 (diff)
downloadpostgresql-a4424c57c3da52efa212b21521abff4bf129b19e.tar.gz
postgresql-a4424c57c3da52efa212b21521abff4bf129b19e.zip
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 'contrib/postgres_fdw/sql/postgres_fdw.sql')
0 files changed, 0 insertions, 0 deletions