Em dom., 21 de jun. de 2020 às 02:16, Tom Lane escreveu:
> Ranier Vilela writes:
> > The res->curBlock pointer possibly, can be NULL here (line 563).
>
> No, it can't.
>
> To get to that line, nBytes has to be > 0, which means res->spaceLeft
> has to be > 0, which cannot happen while res->curBlo
Ranier Vilela writes:
> The res->curBlock pointer possibly, can be NULL here (line 563).
No, it can't.
To get to that line, nBytes has to be > 0, which means res->spaceLeft
has to be > 0, which cannot happen while res->curBlock is NULL.
regards, tom lane
Hi Mark,
please, can you take a look?
This possible bug was appeared before, see at:
1. https://bugzilla.redhat.com/show_bug.cgi?id=879803
The trap still persist, in HEAD see:
src/interfaces/libpq/fe-exec.c (line 563)
/* If there's enough space in the current block, no problem. */
if (nBytes <=