Skip to content

Commit fd331ad

Browse files
Fix PostgreSQL xor registration
Fixes #1673.
1 parent b5b94c7 commit fd331ad

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)