Skip to content

Commit 69abd81

Browse files
committed
set CreateStmt->partition_info if it's PgPro EE
1 parent e133699 commit 69abd81

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/partition_creation.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -716,8 +716,9 @@ create_single_partition_internal(Oid parent_relid,
716716
create_stmt.oncommit = ONCOMMIT_NOOP;
717717
create_stmt.tablespacename = tablespace;
718718
create_stmt.if_not_exists = false;
719-
#ifdef PGPRO_VERSION
720-
create_stmt.partition_info = NULL;
719+
720+
#if defined(PGPRO_EE) && PG_VERSION_NUM >= 90600
721+
create_stmt.partition_info = NULL;
721722
#endif
722723

723724
/* Do we have to escalate privileges? */

0 commit comments

Comments
 (0)