mirror of https://github.com/citusdata/citus.git
Ruleutils_17 Add support for AT LOCAL
Relevant PG commit:
97957fdbaa429c7c582d4753b108cb1e23e1b28a
97957fdbaa
m3hm3t/pg17_isolation_test_cmd_from
parent
31def248b7
commit
39ec86a336
|
@ -7127,6 +7127,16 @@ get_func_sql_syntax(FuncExpr *expr, deparse_context *context)
|
|||
appendStringInfoChar(buf, ')');
|
||||
return true;
|
||||
|
||||
case F_TIMEZONE_TIMESTAMP:
|
||||
case F_TIMEZONE_TIMESTAMPTZ:
|
||||
case F_TIMEZONE_TIMETZ:
|
||||
/* AT LOCAL */
|
||||
appendStringInfoChar(buf, '(');
|
||||
get_rule_expr_paren((Node *) linitial(expr->args), context, false,
|
||||
(Node *) expr);
|
||||
appendStringInfoString(buf, " AT LOCAL)");
|
||||
return true;
|
||||
|
||||
case F_OVERLAPS_TIMESTAMPTZ_INTERVAL_TIMESTAMPTZ_INTERVAL:
|
||||
case F_OVERLAPS_TIMESTAMPTZ_INTERVAL_TIMESTAMPTZ_TIMESTAMPTZ:
|
||||
case F_OVERLAPS_TIMESTAMPTZ_TIMESTAMPTZ_TIMESTAMPTZ_INTERVAL:
|
||||
|
|
Loading…
Reference in New Issue