Skip to content

Commit 77d2ac6

Browse files
fredericDelaportehazzik
authored andcommitted
Fix PostgreSQL bitwise xor registration
Fixes nhibernate#1673
1 parent 6b6dc12 commit 77d2ac6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/NHibernate/Dialect/PostgreSQLDialect.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ public PostgreSQLDialect()
8484
RegisterFunction("atan2", new StandardSQLFunction("atan2", NHibernateUtil.Double));
8585

8686
RegisterFunction("power", new StandardSQLFunction("power", NHibernateUtil.Double));
87+
RegisterFunction("bxor", new BitwiseNativeOperation("#"));
8788

8889
RegisterFunction("floor", new StandardSQLFunction("floor"));
8990
RegisterFunction("ceiling", new StandardSQLFunction("ceiling"));

0 commit comments

Comments
 (0)