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

Commit7a12174

Browse files
committed
Fix buf in cfs_compression_ratio
1 parent1cccc78 commit7a12174

File tree

1 file changed

+1
-1
lines changed
  • src/backend/storage/file

1 file changed

+1
-1
lines changed

‎src/backend/storage/file/cfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,7 @@ Datum cfs_compression_ratio(PG_FUNCTION_ARGS)
957957
}else {
958958
sprintf(map_path,"%s.%u.cfm",path,i);
959959
}
960-
md=open(map_path,O_RDONLY|PG_BINARY,0);
960+
md=open(map_path,O_RDWR|PG_BINARY,0);
961961
if (md<0) {
962962
break;
963963
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp