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

Commit7d5a740

Browse files
committed
Fix compilation on Windows with WAL_DEBUG
This has been broken sinceb060dbe that has reworked the callbackmechanism of XLogReader, most likely unnoticed because any form ofdevelopment involving WAL happens on platforms where this compiles fine.Author: Bharath RupireddyDiscussion:https://postgr.es/m/CALj2ACVF14WKQMFwcJ=3okVDhiXpuK5f7YdT+BdYXbbypMHqWA@mail.gmail.comBackpatch-through: 13
1 parent1ce2986 commit7d5a740

File tree

1 file changed

+4
-2
lines changed
  • src/backend/access/transam

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,8 +1235,10 @@ XLogInsertRecord(XLogRecData *rdata,
12351235

12361236
if (!debug_reader)
12371237
debug_reader=XLogReaderAllocate(wal_segment_size,NULL,
1238-
XL_ROUTINE(),NULL);
1239-
1238+
XL_ROUTINE(.page_read=NULL,
1239+
.segment_open=NULL,
1240+
.segment_close=NULL),
1241+
NULL);
12401242
if (!debug_reader)
12411243
{
12421244
appendStringInfoString(&buf,"error decoding record: out of memory");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp