Skip to content

Commit

Permalink
Update Unsupported warning to PG 15
Browse files Browse the repository at this point in the history
  • Loading branch information
ssinger committed Oct 31, 2022
1 parent f3ba1da commit 41e9c2a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/slonik/slonik.c
Original file line number Diff line number Diff line change
Expand Up @@ -2089,15 +2089,15 @@ load_slony_base(SlonikStmt * stmt, int no_id)
use_major = 8;
use_minor = 4;
}
else if ((adminfo->pg_version >= 90000) && (adminfo->pg_version < 140000)) /* 13 */
else if ((adminfo->pg_version >= 90000) && (adminfo->pg_version < 160000)) /* 15 */
{
/**
* 9.0 through 13 are so far just like 8.4
* 9.0 through 15 are so far just like 8.4
**/
use_major = 8;
use_minor = 4;
}
else /* above 13 */
else /* above 15 */
{
use_major = 8;
use_minor = 4;
Expand Down Expand Up @@ -2178,7 +2178,7 @@ load_slony_functions(SlonikStmt * stmt, int no_id)
use_major = 8;
use_minor = 4;
}
else if ((adminfo->pg_version >= 90000) && (adminfo->pg_version < 140000)) /* 9.0, 9.1, 9.2 */
else if ((adminfo->pg_version >= 90000) && (adminfo->pg_version < 150000)) /* 9.0, 9.1, 9.2 */
{
/**
* 9.0 and 9.1 and 9.2 and 9.3,9.4 are so far just like 8.4
Expand Down

1 comment on commit 41e9c2a

@tim-rex
Copy link

@tim-rex tim-rex commented on 41e9c2a Nov 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 2181 seems to exclude PG15

per comments in issue #18

Please sign in to comment.