Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2991144

Browse files
committed
fix function choose_range_partition_name()
1 parent97d54fc commit2991144

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/partition_creation.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,9 @@ choose_range_partition_name(Oid parent_relid, Oid parent_nsp)
657657
if (need_priv_escalation)
658658
SetUserIdAndSecContext(save_userid,save_sec_context);
659659

660-
returnpsprintf("%s_%u",get_rel_name(parent_relid),DatumGetInt32(part_num));
660+
returnpsprintf("%s_"UINT64_FORMAT,
661+
get_rel_name(parent_relid),
662+
DatumGetUInt64(part_num));
661663
}
662664

663665
/* Choose a good name for a HASH partition */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp