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

Commitbd75d08

Browse files
author
Michael Paquier
committed
Rename XLogFileName to XLogFileNameLong
This is a lazy solution to avoid a conflict with the existing API inxlog_internal.h, and should be corrected to use the one in core.
1 parent4d7bf53 commitbd75d08

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎pg_rman.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ extern bool is_pg_running(void);
343343
} while (0)
344344

345345
#defineMAXFNAMELEN64
346-
#defineXLogFileName(fname,tli,log,seg)\
346+
#defineXLogFileNameLong(fname,tli,log,seg)\
347347
snprintf(fname, MAXFNAMELEN, "%08X%08X%08X", tli, log, seg)
348348

349349
#endif/* PG_RMAN_H */

‎restore.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@ search_next_wal(const char *path, uint32 *needId, uint32 *needSeg, parray *timel
10041004
{
10051005
pgTimeLine*timeline= (pgTimeLine*)parray_get(timelines,i);
10061006

1007-
XLogFileName(xlogfname,timeline->tli,*needId,*needSeg);
1007+
XLogFileNameLong(xlogfname,timeline->tli,*needId,*needSeg);
10081008
join_path_components(xlogpath,path,xlogfname);
10091009

10101010
if (stat(xlogpath,&st)==0)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp