message: Macros for floored division and modulo
diff: @@ -91,6 +91,8 @@ static DefaultMacro internal_macros[] = {
  {DEFAULT_SCHEMA, "list_prepend", {"e", "l", nullptr}, "list_concat(list_value(e), l)"},
  {DEFAULT_SCHEMA, "array_prepend", {"el", "arr", nullptr}, "list_prepend(el, arr)"},
  {DEFAULT_SCHEMA, "generate_subscripts", {"arr", "dim", nullptr}, "unnest(generate_series(1, array_length(arr, dim)))"},
  + {DEFAULT_SCHEMA, "fdiv", {"x", "y", nullptr}, "floor(x/y)"},
  + {DEFAULT_SCHEMA, "fmod", {"x", "y", nullptr}, "(x-y*floor(x/y))"},
  {nullptr, nullptr, {nullptr}, nullptr}};
  static unique_ptr<CreateFunctionInfo> GetDefaultFunction(const string &schema, const string &name) {
  