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

Commit477a0dd

Browse files
committed
Merge commit '135c8528bd155dfa66eeb52a674511c48122a35c' into PGPRO9_6_pathman
2 parentse2c409b +135c852 commit477a0dd

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

‎contrib/pg_pathman/src/init.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@ extern PathmanInitState pg_pathman_init_state;
9797

9898
/* Lowest version of Pl/PgSQL frontend compatible with internals (0xAA_BB_CC) */
9999
#defineLOWEST_COMPATIBLE_FRONT0x010200
100-
#defineCURRENT_LIB_VERSION0x010200
100+
101+
/* Current version on native C library (0xAA_BB_CC) */
102+
#defineCURRENT_LIB_VERSION0x010201
101103

102104

103105
/*

‎contrib/pg_pathman/src/partition_creation.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*-------------------------------------------------------------------------
1+
/*-------------------------------------------------------------------------
22
*
33
* partition_creation.c
44
*Various functions for partition creation.
@@ -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+
(uint64)DatumGetInt64(part_num));/* can't use UInt64 on 9.5 */
661663
}
662664

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp