From a6a33401b29aa2f45bec4533b728e2971b992f46 Mon Sep 17 00:00:00 2001 From: Dmitry Patsura Date: Thu, 11 Aug 2022 14:59:47 +0300 Subject: [PATCH] explain special field --- src/ast/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ast/mod.rs b/src/ast/mod.rs index 1dfc79e16..ea32066b1 100644 --- a/src/ast/mod.rs +++ b/src/ast/mod.rs @@ -2292,6 +2292,8 @@ pub struct Function { pub over: Option, // aggregate functions may specify eg `COUNT(DISTINCT x)` pub distinct: bool, + // Some functions must be called without trailing parentheses, for example Postgres + // do it for current_catalog, current_schema, etc. This flags is used for formatting. pub special: bool, }