Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down
5 changes: 5 additions & 0 deletions src/FluentNHibernate/Cfg/Db/PostgreSQLConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,10 @@ public static PostgreSQLConfiguration PostgreSQL82
{
get { return new PostgreSQLConfiguration().Dialect<PostgreSQL82Dialect>(); }
}

public static PostgreSQLConfiguration PostgreSQL83
{
get { return new PostgreSQLConfiguration().Dialect<PostgreSQL83Dialect>(); }
}
}
}