Skip to content

Commit 31f1012

Browse files
committed
[PGPRO-6764] Fix build errors after merging 1C_master into STD_master
1 parent 52260fa commit 31f1012

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/partition_creation.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -1671,14 +1671,14 @@ make_constraint_common(char *name, Node *raw_expr)
16711671
return constraint;
16721672
}
16731673

1674-
#if PG_VERSION_NUM >= 150000 /* reason: commit 639a86e36aae */
1674+
#if PG_VERSION_NUM >= 150000 /* for commits 639a86e36aae, c4cc2850f4d1 */
16751675
static String
16761676
make_string_value_struct(char* str)
16771677
{
16781678
String val;
16791679

16801680
val.type = T_String;
1681-
val.val = str;
1681+
val.sval = str;
16821682

16831683
return val;
16841684
}
@@ -1689,7 +1689,7 @@ make_int_value_struct(int int_val)
16891689
Integer val;
16901690

16911691
val.type = T_Integer;
1692-
val.val = int_val;
1692+
val.ival = int_val;
16931693

16941694
return val;
16951695
}

0 commit comments

Comments
 (0)