Re: redo failed in physical streaming replication while stopping the master server - Mailing list pgsql-hackers

From wcting
Subject Re: redo failed in physical streaming replication while stopping the master server
Date
Msg-id 1456903524873-5890124.post@n5.nabble.com
Whole thread Raw
In response to redo failed in physical streaming replication while stopping the master server  (lannis <msp548546@163.com>)
Responses Re: Re: redo failed in physical streaming replication while stopping the master server  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
/*                 * If at page start, we must skip over the page header.  But
we can't                 * do that until we've read in the page, since the header
size is                 * variable.                 */ 

i don't know the meaning behind this comments,
if ((RecPtr->xrecoff % XLogSegSize) == 0) 
it's a long page header, else a short page header,

so "the header size" can be calculated ? right?



--
View this message in context:
http://postgresql.nabble.com/redo-failed-in-physical-streaming-replication-while-stopping-the-master-server-tp5889961p5890124.html
Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: TAP / recovery-test fs-level backups, psql enhancements etc
Next
From: Kevin Grittner
Date:
Subject: Re: Addition of extra commit fest entry to park future patches