HHH-3458 Register postgres random() function as "rand" in PostgresSQLDialect
This commit is contained in:
parent
bfcca64997
commit
d5c651ccf5
|
@ -104,6 +104,7 @@ public class PostgreSQL81Dialect extends Dialect {
|
||||||
registerFunction( "variance", new StandardSQLFunction("variance", StandardBasicTypes.DOUBLE) );
|
registerFunction( "variance", new StandardSQLFunction("variance", StandardBasicTypes.DOUBLE) );
|
||||||
|
|
||||||
registerFunction( "random", new NoArgSQLFunction("random", StandardBasicTypes.DOUBLE) );
|
registerFunction( "random", new NoArgSQLFunction("random", StandardBasicTypes.DOUBLE) );
|
||||||
|
registerFunction( "rand", new NoArgSQLFunction("random", StandardBasicTypes.DOUBLE) );
|
||||||
|
|
||||||
registerFunction( "round", new StandardSQLFunction("round") );
|
registerFunction( "round", new StandardSQLFunction("round") );
|
||||||
registerFunction( "trunc", new StandardSQLFunction("trunc") );
|
registerFunction( "trunc", new StandardSQLFunction("trunc") );
|
||||||
|
|
Loading…
Reference in New Issue