Skip to content

Commit

Permalink
npgsql#180 : use PostgreSqlVersion.ToString()
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugues Stefanski committed Jun 10, 2022
1 parent 4b54a47 commit 4b47ee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EF6.PG/NpgsqlServices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ protected override string GetDbProviderManifestToken([NotNull] DbConnection conn

var serverVersion = "";
UsingPostgresDbConnection((NpgsqlConnection)connection, conn => {
serverVersion = conn.ServerVersion;
serverVersion = conn.PostgreSqlVersion.ToString();
});
return serverVersion;
}
Expand Down

0 comments on commit 4b47ee1

Please sign in to comment.