diff --git a/src/FluentNHibernate.Testing/Cfg/Db/PostgreSQLConfigurationTester.cs b/src/FluentNHibernate.Testing/Cfg/Db/PostgreSQLConfigurationTester.cs index e2adb6dcd..bf9eaee7d 100644 --- a/src/FluentNHibernate.Testing/Cfg/Db/PostgreSQLConfigurationTester.cs +++ b/src/FluentNHibernate.Testing/Cfg/Db/PostgreSQLConfigurationTester.cs @@ -35,6 +35,13 @@ public void PostgreSQL_82_should_set_the_correct_dialect() "NHibernate.Dialect.PostgreSQL82Dialect, " + typeof(ISession).Assembly.FullName); } + [Test] + public void PostgreSQL_83_should_set_the_correct_dialect() + { + PostgreSQLConfiguration.PostgreSQL83.ToProperties()["dialect"].ShouldEqual( + "NHibernate.Dialect.PostgreSQL83Dialect, " + typeof(ISession).Assembly.FullName); + } + [Test] public void ConnectionString_is_added_to_the_configuration() { diff --git a/src/FluentNHibernate/Cfg/Db/PostgreSQLConfiguration.cs b/src/FluentNHibernate/Cfg/Db/PostgreSQLConfiguration.cs index 7c634ab16..bc3f052d2 100644 --- a/src/FluentNHibernate/Cfg/Db/PostgreSQLConfiguration.cs +++ b/src/FluentNHibernate/Cfg/Db/PostgreSQLConfiguration.cs @@ -24,5 +24,10 @@ public static PostgreSQLConfiguration PostgreSQL82 { get { return new PostgreSQLConfiguration().Dialect(); } } + + public static PostgreSQLConfiguration PostgreSQL83 + { + get { return new PostgreSQLConfiguration().Dialect(); } + } } } \ No newline at end of file