]> granicus.if.org Git - postgresql/commit
Do type conversion to match columns in UNION clauses.
authorThomas G. Lockhart <lockhart@fourpalms.org>
Fri, 29 May 1998 14:00:24 +0000 (14:00 +0000)
committerThomas G. Lockhart <lockhart@fourpalms.org>
Fri, 29 May 1998 14:00:24 +0000 (14:00 +0000)
commit8536c962614a55d33baa283a7901bb167a43978a
treed674201859f82cf92296a5fc079b5bfcaf1c4f8b
parent329083a97e2b5de1191f50451a253c224c833605
Do type conversion to match columns in UNION clauses.
 Currently force the type to match the _first_ select in the union.
Move oper_select_candidate() from parse_func.c to parse_oper.c.
Throw error inside of oper_inexact() if no match for binary operators.
Check more carefully that types can be coerced
 even if there is only one candidate operator in oper_inexact().
Fix up error messages for more uniform look.
Remove unused code.
Fix up comments.
src/backend/parser/parse_clause.c
src/backend/parser/parse_coerce.c
src/backend/parser/parse_expr.c
src/backend/parser/parse_func.c
src/backend/parser/parse_node.c
src/backend/parser/parse_oper.c
src/backend/parser/parse_target.c
src/backend/parser/parse_type.c