We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc1e507 commit 663c582Copy full SHA for 663c582
Orm/Xtensive.Orm.PostgreSql/Sql.Drivers.PostgreSql/v9_0/Compiler.cs
@@ -14,9 +14,9 @@ internal class Compiler : v8_4.Compiler
14
protected override void VisitIntervalToMilliseconds(SqlFunctionCall node)
15
{
16
AppendSpaceIfNecessary();
17
- _ = context.Output.Append("(EXTRACT(EPOCH FROM (");
+ _ = context.Output.Append("(TRUNC(EXTRACT(EPOCH FROM (");
18
node.Arguments[0].AcceptVisitor(this);
19
- _ = context.Output.Append(")) * 1000)");
+ _ = context.Output.Append(")) * 1000))");
20
21
}
22
0 commit comments