Skip to content

Commit 11857bb

Browse files
committed
PgSQL: Make_timestamp with integer hour and minute
1 parent faf05fa commit 11857bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Orm/Xtensive.Orm.PostgreSql/Sql.Drivers.PostgreSql/v10_0

Orm/Xtensive.Orm.PostgreSql/Sql.Drivers.PostgreSql/v10_0/Compiler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public override void Visit(SqlFunctionCall node)
3232
}
3333

3434
protected static SqlUserFunctionCall MakeDateTime(SqlExpression year, SqlExpression month, SqlExpression day) =>
35-
SqlDml.FunctionCall("MAKE_TIMESTAMP", year, month, day, SqlDml.Literal(0.0), SqlDml.Literal(0.0), SqlDml.Literal(0.0));
35+
SqlDml.FunctionCall("MAKE_TIMESTAMP", year, month, day, SqlDml.Literal(0), SqlDml.Literal(0), SqlDml.Literal(0.0));
3636

3737
#if NET6_0_OR_GREATER //DO_DATEONLY
3838
protected static SqlUserFunctionCall MakeDate(SqlExpression year, SqlExpression month, SqlExpression day) =>

0 commit comments

Comments
 (0)