Skip to content

Commit

Permalink
Fix broken compatibility with PostgreSQL 10 and 11 with:
Browse files Browse the repository at this point in the history
  ERROR: unrecognized node type: 375
Thanks to smallcookie086 for the report.
  • Loading branch information
Gilles Darold committed Apr 1, 2021
1 parent 32c3e0a commit 0e13898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgtt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1426,7 +1426,7 @@ create_temporary_table_internal(Oid parent_relid, bool preserved)
{
CommentObject((CommentStmt *) cur_stmt);
}
#if (PG_VERSION_NUM > 120000)
#if (PG_VERSION_NUM >= 100000)
else if (IsA(cur_stmt, TableLikeClause))
{
TableLikeClause *like = (TableLikeClause *) cur_stmt;
Expand Down

0 comments on commit 0e13898

Please sign in to comment.