Skip to content

Commit 0e13898

Browse files
author
Gilles Darold
committed
Fix broken compatibility with PostgreSQL 10 and 11 with:
ERROR: unrecognized node type: 375 Thanks to smallcookie086 for the report.
1 parent 32c3e0a commit 0e13898

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pgtt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1426,7 +1426,7 @@ create_temporary_table_internal(Oid parent_relid, bool preserved)
14261426
{
14271427
CommentObject((CommentStmt *) cur_stmt);
14281428
}
1429-
#if (PG_VERSION_NUM > 120000)
1429+
#if (PG_VERSION_NUM >= 100000)
14301430
else if (IsA(cur_stmt, TableLikeClause))
14311431
{
14321432
TableLikeClause *like = (TableLikeClause *) cur_stmt;

0 commit comments

Comments
 (0)