/* * 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. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers