Skip to content

Commit f2e6be0

Browse files
committed
fix unresolved function name in partition_creation.c
1 parent 922a1dd commit f2e6be0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/partition_creation.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,8 @@ build_hash_check_constraint(Oid child_relid,
10501050

10511051
/* Build a correct name for this constraint */
10521052
attnum = get_attnum(child_relid, attname);
1053-
hash_constr_name = build_check_constraint_name_internal(child_relid, attnum);
1053+
hash_constr_name = build_check_constraint_name_relid_internal(child_relid,
1054+
attnum);
10541055

10551056
/* Initialize basic properties of a CHECK constraint */
10561057
hash_constr = make_constraint_common(hash_constr_name,

0 commit comments

Comments
 (0)