File tree Expand file tree Collapse file tree 7 files changed +3
-48
lines changed
NHibernate.Config.Templates
NHibernate.Test/TestDialects Expand file tree Collapse file tree 7 files changed +3
-48
lines changed Original file line number Diff line number Diff line change @@ -1527,11 +1527,6 @@ in the parameter binding.</programlisting>
1527
1527
<row >
1528
1528
<entry >PostgreSQL</entry >
1529
1529
<entry ><literal >NHibernate.Dialect.PostgreSQLDialect</literal ></entry >
1530
- <entry >
1531
- This dialect enables backslash escape sequences by default,
1532
- see the <literal >escape_backslash_in_strings</literal > configuration
1533
- property.
1534
- </entry >
1535
1530
</row >
1536
1531
<row >
1537
1532
<entry >PostgreSQL 8.1</entry >
@@ -1557,15 +1552,6 @@ in the parameter binding.</programlisting>
1557
1552
This dialect supports <literal >XML</literal > type.
1558
1553
</entry >
1559
1554
</row >
1560
- <row >
1561
- <entry >PostgreSQL 9.1</entry >
1562
- <entry ><literal >NHibernate.Dialect.PostgreSQL91Dialect</literal ></entry >
1563
- <entry >
1564
- This dialect disables backslash escape sequences by default
1565
- see the <literal >escape_backslash_in_strings</literal > configuration
1566
- property.
1567
- </entry >
1568
- </row >
1569
1555
<row >
1570
1556
<entry >SQLite</entry >
1571
1557
<entry ><literal >NHibernate.Dialect.SQLiteDialect</literal ></entry >
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ Task Set-Configuration {
36
36
' PostgreSQL' = @ {
37
37
' connection.connection_string' = ' Host=localhost;Port=5432;Username=postgres;Password=Password12!;Database=nhibernate;Enlist=true' ;
38
38
' connection.driver_class' = ' NHibernate.Driver.NpgsqlDriver' ;
39
- ' dialect' = ' NHibernate.Dialect.PostgreSQL91Dialect '
39
+ ' dialect' = ' NHibernate.Dialect.PostgreSQL83Dialect '
40
40
};
41
41
' SQLite' = @ {
42
42
<#
Original file line number Diff line number Diff line change @@ -10,6 +10,6 @@ for your own use before compile tests in VisualStudio.
10
10
<property name =" connection.connection_string" >
11
11
Server=localhost;Database=nhibernate;User ID=nhibernate;Password=nhibernate;Enlist=true;
12
12
</property >
13
- <property name =" dialect" >NHibernate.Dialect.PostgreSQL91Dialect </property >
13
+ <property name =" dialect" >NHibernate.Dialect.PostgreSQL83Dialect </property >
14
14
</session-factory >
15
15
</hibernate-configuration >
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -320,11 +320,6 @@ public override string CurrentTimestampSelectString
320
320
get { return "SELECT CURRENT_TIMESTAMP" ; }
321
321
}
322
322
323
- /// <inheritdoc />
324
- /// <remarks><see langword="true" /> by default for PostgreSQL up until version 9.1,
325
- /// <see href="https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-STRINGS-ESCAPE" />.</remarks>
326
- protected override bool EscapeBackslashInStrings { get ; set ; } = true ;
327
-
328
323
#region Overridden informational metadata
329
324
330
325
public override bool SupportsEmptyInList => false ;
Original file line number Diff line number Diff line change 126
126
<target name =" setup-teamcity-postgresql" >
127
127
<property name =" db-service" value =" postgresql-x64-10" />
128
128
<property name =" nhibernate.connection.driver_class" value=" NHibernate.Driver.NpgsqlDriver" />
129
- <property name =" nhibernate.dialect" value=" NHibernate.Dialect.PostgreSQL91Dialect " />
129
+ <property name =" nhibernate.dialect" value=" NHibernate.Dialect.PostgreSQL83Dialect " />
130
130
<property name =" nhibernate.connection.connection_string" value=" Host=localhost;Port=5432;Database=nhibernate;Username=nhibernate;Password=nhibernate;Enlist=true" />
131
131
</target >
132
132
You can’t perform that action at this time.
0 commit comments