Skip to content

Commit

Permalink
fixes ErikEJ#2362
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikEJ committed May 28, 2024
1 parent 9879a3a commit 5e5fab1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Core/RevEng.Core.60/Routines/PostgresRoutineModelFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@ protected RoutineModel GetRoutines(string connectionString, ModuleModelFactoryOp
using (var command = new NpgsqlCommand(RoutineSql, connection))
{
connection.Open();

if (connection.PostgreSqlVersion.Major < 11)
{
return new RoutineModel
{
Routines = result,
Errors = errors,
};
}

using (var reader = command.ExecuteReader())
{
while (reader.Read())
Expand Down
Binary file modified src/GUI/lib/efreveng60.exe.zip
Binary file not shown.
Binary file modified src/GUI/lib/efreveng70.exe.zip
Binary file not shown.
Binary file modified src/GUI/lib/efreveng80.exe.zip
Binary file not shown.

0 comments on commit 5e5fab1

Please sign in to comment.