Re: Online base backup from the hot-standby
Jun Ishiduka <ishizuka.jun@po.ntts.co.jp>
From: Jun Ishiduka <ishizuka.jun@po.ntts.co.jp>
To: ssinger_pg@sympatico.ca
Cc: cedric.villemain.debian@gmail.com, robertmhaas@gmail.com, pgsql-hackers@postgresql.org
Date: 2011-08-17T08:59:37Z
Lists: pgsql-hackers
> Is there any way to tell from the WAL segments if they contain the full > page data? If so could you verify this on the second slave when it is > brought up? Or can you track this on the first slave and produce an > error in either pg_start_backup or pg_stop_backup() Sure. I will make a patch with the way to tell from the WAL segments if they contain the full page data. > I see in xlog.h XLR_BKP_REMOVABLE, the comment above it says that this > flag is used to indicate that the archiver can compress the full page > blocks to non-full page blocks. I am not familiar with where in the code > this actually happens but will this cause issues if the first standby is > processing WAL files from the archive? I confirmed the flag in xlog.c, so I seemed to only insert it in XLogInsert(). I consider whether it is available. -------------------------------------------- Jun Ishizuka NTT Software Corporation TEL:045-317-7018 E-Mail: ishizuka.jun@po.ntts.co.jp --------------------------------------------