Re: WAL consistency check facility - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: WAL consistency check facility
Date
Msg-id 20160825170305.GA266652@alvherre.pgsql
Whole thread Raw
In response to Re: WAL consistency check facility  (Kuntal Ghosh <kuntalghosh.2007@gmail.com>)
Responses Re: WAL consistency check facility  (Kuntal Ghosh <kuntalghosh.2007@gmail.com>)
List pgsql-hackers
Kuntal Ghosh wrote:

> 4. For Speculative Heap tuple insert operation, there was
> inconsistency in t_ctid value. So, I've modified the t_ctid value (in
> backup page) to current block number and offset number. Need
> suggestions!!

In speculative insertions, t_ctid is used to store the speculative
token.  I think you should just mask that field out in that case (which
you can recognize because ip_posid is set to magic value 0xfffe).

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: increasing the default WAL segment size
Next
From: Robert Haas
Date:
Subject: Re: PG_DIAG_SEVERITY and a possible bug in pq_parse_errornotice()