Re: [HACKERS] Possible gaps/garbage in the output of XLOG reader

2016-06-14 Thread Michael Paquier
On Thu, Apr 9, 2015 at 7:05 PM, Antonin Houska wrote: > While playing with xlogreader, I was lucky enough to see one of the many > record validations to fail. After having some fun with gdb, I found out that > in some cases the reader does not enforce enough data to be in state->readBuf > before c

[HACKERS] Possible gaps/garbage in the output of XLOG reader

2015-04-09 Thread Antonin Houska
While playing with xlogreader, I was lucky enough to see one of the many record validations to fail. After having some fun with gdb, I found out that in some cases the reader does not enforce enough data to be in state->readBuf before copying into state->readRecordBuf starts. This should not happen