From 61b67b9b98c47ce5997af2ec124cdcada040fc88 Mon Sep 17 00:00:00 2001 From: Hiroshi Inoue Date: Fri, 26 Oct 2018 12:12:25 +0900 Subject: [PATCH] Fix the regression test failure in odbc-escapes caused by the commit 499fb29b80cfaf60fffd81549b36ec2def1cf21d. The parameters should be cast because parameters of concat() function are variadic "any". --- convert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convert.c b/convert.c index 7becd77..577f084 100644 --- a/convert.c +++ b/convert.c @@ -79,7 +79,7 @@ static const struct } mapFuncs[] = { /* { "ASCII", "ascii" }, built_in */ {"CHAR", "chr($*)" }, -/* {"CONCAT", "concat" }, built_in */ + {"CONCAT", "concat($1::text, $2::text)" }, /* { "DIFFERENCE", "difference" }, how to ? */ {"INSERT", "substring($1 from 1 for $2 - 1) || $4 || substring($1 from $2 + $3)" }, {"LCASE", "lower($*)" }, -- 2.39.5