forked from nhibernate/nhibernate-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPostgreSQL83TestDialect.cs
31 lines (25 loc) · 1 KB
/
PostgreSQL83TestDialect.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
namespace NHibernate.Test.TestDialects
{
public class PostgreSQL83TestDialect : TestDialect
{
public PostgreSQL83TestDialect(Dialect.Dialect dialect)
: base(dialect)
{
}
public override bool SupportsSelectForUpdateOnOuterJoin => false;
public override bool SupportsNullCharactersInUtfStrings => false;
/// <summary>
/// Npgsql since its 3.2.5 version fails some tests requiring this feature. The trouble was not occuring with
/// Npgsql 3.2.4.1.
/// </summary>
public override bool SupportsUsingConnectionOnSystemTransactionPrepare => false;
/// <summary>
/// Npgsql does not clone the transaction in its context, and uses it in its prepare phase. When that was a
/// dependent transaction, it is then usually already disposed of, causing Npgsql to crash.
/// </summary>
public override bool SupportsDependentTransaction => false;
public override bool SupportsAggregateInSubSelect => true;
/// <inheritdoc />
public override bool SupportsRowValueConstructorSyntax => true;
}
}