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

Commitd46c269

Browse files
committed
Fix 'mmap' DSM implementation with allocations larger than 4 GB
Fixes bug #18341. Backpatch to all supported versions.Discussion:https://www.postgresql.org/message-id/18341-ce16599e7fd6228c@postgresql.org
1 parent29f0052 commitd46c269

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/storage/ipc/dsm_impl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ dsm_impl_mmap(dsm_op op, dsm_handle handle, Size request_size,
880880
* transferring data to the kernel.
881881
*/
882882
char*zbuffer= (char*)palloc0(ZBUFFER_SIZE);
883-
uint32remaining=request_size;
883+
Sizeremaining=request_size;
884884
boolsuccess= true;
885885

886886
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp