diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2012-10-12 13:35:00 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2012-10-12 13:35:00 -0400 |
commit | a29f7ed5544ef583747c0dcc3fc2afac1fb191ef (patch) | |
tree | 5693033a5757722c757bcc22c8afb0e42c996a98 /src/backend/executor/functions.c | |
parent | 427fd88552c5ee6e239b776dfa763489251809bc (diff) | |
download | postgresql-a29f7ed5544ef583747c0dcc3fc2afac1fb191ef.tar.gz postgresql-a29f7ed5544ef583747c0dcc3fc2afac1fb191ef.zip |
Get rid of COERCE_DONTCARE.
We don't need this hack any more.
Diffstat (limited to 'src/backend/executor/functions.c')
-rw-r--r-- | src/backend/executor/functions.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/executor/functions.c b/src/backend/executor/functions.c index c90521246a5..e28fd89538d 100644 --- a/src/backend/executor/functions.c +++ b/src/backend/executor/functions.c @@ -1572,7 +1572,7 @@ check_sql_fn_retval(Oid func_id, Oid rettype, List *queryTreeList, rettype, -1, get_typcollation(rettype), - COERCE_DONTCARE); + COERCE_IMPLICIT_CAST); /* Relabel is dangerous if TLE is a sort/group or setop column */ if (tle->ressortgroupref != 0 || parse->setOperations) *modifyTargetList = true; @@ -1618,7 +1618,7 @@ check_sql_fn_retval(Oid func_id, Oid rettype, List *queryTreeList, rettype, -1, get_typcollation(rettype), - COERCE_DONTCARE); + COERCE_IMPLICIT_CAST); /* Relabel is dangerous if sort/group or setop column */ if (tle->ressortgroupref != 0 || parse->setOperations) *modifyTargetList = true; @@ -1722,7 +1722,7 @@ check_sql_fn_retval(Oid func_id, Oid rettype, List *queryTreeList, atttype, -1, get_typcollation(atttype), - COERCE_DONTCARE); + COERCE_IMPLICIT_CAST); /* Relabel is dangerous if sort/group or setop column */ if (tle->ressortgroupref != 0 || parse->setOperations) *modifyTargetList = true; |