File tree Expand file tree Collapse file tree
Orm/Xtensive.Orm.Tests.Framework Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,9 +31,15 @@ public static class StorageProviderVersion
3131 public static Version PostgreSql90 = new Version ( 9 , 0 ) ;
3232 public static Version PostgreSql91 = new Version ( 9 , 1 ) ;
3333 public static Version PostgreSql92 = new Version ( 9 , 2 ) ;
34+ public static Version PostgreSql96 = new Version ( 9 , 6 ) ;
3435 public static Version PostgreSql100 = new Version ( 10 , 0 ) ;
3536 public static Version PostgreSql110 = new Version ( 11 , 0 ) ;
3637 public static Version PostgreSql120 = new Version ( 12 , 0 ) ;
38+ public static Version PostgreSql130 = new Version ( 13 , 0 ) ;
39+ public static Version PostgreSql140 = new Version ( 14 , 0 ) ;
40+ public static Version PostgreSql150 = new Version ( 15 , 0 ) ;
41+ public static Version PostgreSql160 = new Version ( 16 , 0 ) ;
42+ public static Version PostgreSql170 = new Version ( 17 , 0 ) ;
3743
3844 public static Version MySql55 = new Version ( 5 , 5 ) ;
3945 public static Version MySql56 = new Version ( 5 , 6 ) ;
Original file line number Diff line number Diff line change @@ -71,12 +71,12 @@ public void InitAppContextSwitches()
7171 private void InitPostgreSqlSwitches ( )
7272 {
7373 var infinityAliasesValue = GetEnvironmentVariable ( InfinityAliasesKey ) ;
74- if ( bool . TryParse ( infinityAliasesValue , out var bbb ) ) {
75- AppContext . SetSwitch ( "Npgsql.DisableDateTimeInfinityConversions" , ! bbb ) ;
74+ if ( bool . TryParse ( infinityAliasesValue , out var switch1Value ) ) {
75+ AppContext . SetSwitch ( "Npgsql.DisableDateTimeInfinityConversions" , ! switch1Value ) ;
7676 }
7777 var legacyTimestampsValue = GetEnvironmentVariable ( LegacyTimestapmKey ) ;
78- if ( bool . TryParse ( legacyTimestampsValue , out var ccc ) ) {
79- AppContext . SetSwitch ( "Npgsql.EnableLegacyTimestampBehavior" , ccc ) ;
78+ if ( bool . TryParse ( legacyTimestampsValue , out var switch2Value ) ) {
79+ AppContext . SetSwitch ( "Npgsql.EnableLegacyTimestampBehavior" , switch2Value ) ;
8080 }
8181 }
8282
You can’t perform that action at this time.
0 commit comments