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

Commit654242f

Browse files
committed
Fix incorrect variable datatype.
Since slot_keep_segs indicates the number of WAL segments not LSN,its datatype should not be XLogRecPtr.Back-patch to v13 where this issue was added.Reported-by: Atsushi TorikoshiAuthor: Atsushi Torikoshi, tweaked by Fujii MasaoDiscussion:https://postgr.es/m/ebd0d674f3e050222238a960cac5251a@oss.nttdata.com
1 parenteb2c8a8 commit654242f

File tree

1 file changed

+1
-1
lines changed
  • src/backend/access/transam

1 file changed

+1
-1
lines changed

‎src/backend/access/transam/xlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9601,7 +9601,7 @@ KeepLogSeg(XLogRecPtr recptr, XLogSegNo *logSegNo)
96019601
/* Cap by max_slot_wal_keep_size ... */
96029602
if (max_slot_wal_keep_size_mb >=0)
96039603
{
9604-
XLogRecPtrslot_keep_segs;
9604+
uint64slot_keep_segs;
96059605

96069606
slot_keep_segs=
96079607
ConvertToXSegs(max_slot_wal_keep_size_mb,wal_segment_size);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp