[#3727] Don't apply this fix to databases other than PostgreSQL
This commit is contained in:
parent
3bd5d16ad0
commit
059d44591b
@ -373,7 +373,7 @@ class Function<T> extends AbstractField<T> implements
|
||||
if (POSTGRES == ctx.family())
|
||||
return windowDefinition;
|
||||
else
|
||||
return DSL.sql("{0}", windowDefinition);
|
||||
return DSL.sql("({0})", windowDefinition);
|
||||
|
||||
// [#531] Inline window specifications if the WINDOW clause is not supported
|
||||
if (windowName != null) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user