Skip to content

Commit

Permalink
Minor code update for PostgreSQL 15 compatibility.
Browse files Browse the repository at this point in the history
Reflects change in core commit a49d081235.
  • Loading branch information
ibarwick committed Sep 14, 2021
1 parent 87b1fff commit 3b2b312
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/convert.c
Original file line number Diff line number Diff line change
Expand Up @@ -2581,7 +2581,11 @@ foreign_expr_walker(Node *node,
static bool
is_builtin(Oid oid)
{
#if(PG_VERSION_NUM >= 120000)
return (oid < FirstGenbkiObjectId);
#else
return (oid < FirstBootstrapObjectId);
#endif
}


Expand Down

0 comments on commit 3b2b312

Please sign in to comment.