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

Commit1cf7150

Browse files
committed
Fix 64 bit XID again and one warning.
1 parent20f055f commit1cf7150

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

‎backup.c

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,18 +1619,20 @@ StreamLog(void *arg)
16191619
starttli);
16201620

16211621
#ifPG_VERSION_NUM >=90600
1622-
StreamCtlctl;
1623-
ctl.startpos=startpos;
1624-
ctl.timeline=starttli;
1625-
ctl.sysidentifier=NULL;
1626-
ctl.basedir=basedir;
1627-
ctl.stream_stop=stop_streaming;
1628-
ctl.standby_message_timeout=standby_message_timeout;
1629-
ctl.partial_suffix=NULL;
1630-
ctl.synchronous= false;
1631-
ctl.mark_done= false;
1632-
if(ReceiveXlogStream(conn,&ctl)== false)
1633-
elog(ERROR,"Problem in recivexlog");
1622+
{
1623+
StreamCtlctl;
1624+
ctl.startpos=startpos;
1625+
ctl.timeline=starttli;
1626+
ctl.sysidentifier=NULL;
1627+
ctl.basedir=basedir;
1628+
ctl.stream_stop=stop_streaming;
1629+
ctl.standby_message_timeout=standby_message_timeout;
1630+
ctl.partial_suffix=NULL;
1631+
ctl.synchronous= false;
1632+
ctl.mark_done= false;
1633+
if(ReceiveXlogStream(conn,&ctl)== false)
1634+
elog(ERROR,"Problem in recivexlog");
1635+
}
16341636
#else
16351637
if(ReceiveXlogStream(conn,startpos,starttli,NULL,basedir,
16361638
stop_streaming,standby_message_timeout,NULL,

‎catalog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ pgBackupWriteResultSection(FILE *out, pgBackup *backup)
278278
time2iso(timestamp,lengthof(timestamp),backup->end_time);
279279
fprintf(out,"END_TIME='%s'\n",timestamp);
280280
}
281-
fprintf(out,"RECOVERY_XID=%u\n",backup->recovery_xid);
281+
fprintf(out,"RECOVERY_XID="XID_FMT"\n",backup->recovery_xid);
282282
if (backup->recovery_time>0)
283283
{
284284
time2iso(timestamp,lengthof(timestamp),backup->recovery_time);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp