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

Commitd71fbcd

Browse files
committed
use DatumGetInt64 instead of DatumGetUInt64 (9.5 compatibility)
1 parent2991144 commitd71fbcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/partition_creation.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ choose_range_partition_name(Oid parent_relid, Oid parent_nsp)
659659

660660
returnpsprintf("%s_"UINT64_FORMAT,
661661
get_rel_name(parent_relid),
662-
DatumGetUInt64(part_num));
662+
(uint64)DatumGetInt64(part_num));/* can't use UInt64 on 9.5 */
663663
}
664664

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp