From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
Cc: | Kuntal Ghosh <kuntalghosh(dot)2007(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>, Amit Kapila <amit(dot)kapila(at)enterprisedb(dot)com>, Simon Riggs <simon(at)2ndquadrant(dot)com> |
Subject: | Re: WAL consistency check facility |
Date: | 2016-08-22 15:46:05 |
Message-ID: | CA+Tgmoa-Z5gO7qc4dsJ4SpThTzXq-n3e6MfCuSVsW89EjSqYfA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Aug 22, 2016 at 9:25 AM, Michael Paquier
<michael(dot)paquier(at)gmail(dot)com> wrote:
> Another pin-point is: given a certain page, how do we identify of
> which type it is? One possibility would be again to extend the AM
> handler with some kind of is_self function with a prototype like that:
> bool handler->is_self(Page);
> If the page is of the type of the handler, this returns true, and
> false otherwise. Still here performance would suck.
>
> At the end, what we want is a clean interface, and more thoughts into it.
I think that it makes sense to filter based on the resource manager
ID, but I can't see how we could reasonably filter based on the AM
name.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2016-08-22 15:49:12 | Re: LSN as a recovery target |
Previous Message | Robert Haas | 2016-08-22 15:44:14 | Re: Tracking wait event for latches |