mirror of https://github.com/citusdata/citus.git
Adds bytea equivalents of ltrim() and rtrim() to ruleutils_14.c
Relevant PG commit: a6cf3df4ebdcbc7857910a67f259705645383e9fpull/5209/head
parent
71691ecf06
commit
1174046a33
|
@ -6660,6 +6660,7 @@ get_func_sql_syntax(FuncExpr *expr, deparse_context *context)
|
|||
appendStringInfoChar(buf, ')');
|
||||
return true;
|
||||
|
||||
case F_LTRIM_BYTEA_BYTEA:
|
||||
case F_LTRIM_TEXT:
|
||||
case F_LTRIM_TEXT_TEXT:
|
||||
/* TRIM() */
|
||||
|
@ -6674,6 +6675,7 @@ get_func_sql_syntax(FuncExpr *expr, deparse_context *context)
|
|||
appendStringInfoChar(buf, ')');
|
||||
return true;
|
||||
|
||||
case F_RTRIM_BYTEA_BYTEA:
|
||||
case F_RTRIM_TEXT:
|
||||
case F_RTRIM_TEXT_TEXT:
|
||||
/* TRIM() */
|
||||
|
|
Loading…
Reference in New Issue