Re: Review: Patch to compute Max LSN of Data Pages

Andres Freund <andres@2ndquadrant.com>

From: 'Andres Freund' <andres@2ndquadrant.com>
To: Hari Babu <haribabu.kommi@huawei.com>
Cc: 'Robert Haas' <robertmhaas@gmail.com>, 'Josh Berkus' <josh@agliodbs.com>, 'Amit kapila' <amit.kapila@huawei.com>, pgsql-hackers@postgresql.org
Date: 2013-07-08T10:55:51Z
Lists: pgsql-hackers
On 2013-07-08 16:17:54 +0530, Hari Babu wrote:
> +    This utility can also be used to decide whether backup is required or not when the data page
> +    in old-master precedes the last applied LSN in old-standby (i.e., new-master) at the
> +    moment of the failover.
> +   </para>
> +  </refsect1>

I don't think this is safe in any interesting set of cases. Am I missing
something?
People falsely thinking that it can be used for this is the primary
reason for me objecting the patch...

Greetings,

Andres Freund

-- 
 Andres Freund	                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services