Re: logical decoding : exceeded maxAllocatedDescs for .spill files

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Amit Khandekar <amitdkhan(dot)pg(at)gmail(dot)com>
Cc: Juan José Santamaría Flecha <juanjo(dot)santamaria(at)gmail(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, Alvaro Herrera from 2ndQuadrant <alvherre(at)alvh(dot)no-ip(dot)org>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: logical decoding : exceeded maxAllocatedDescs for .spill files
Date: 2019-11-20 04:48:41
Message-ID: CA+hUKGLEXJkknZC0STtb20tH0ro21fnhTCKiazuyKjpN+ug+PQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Nov 20, 2019 at 4:54 PM Amit Khandekar <amitdkhan(dot)pg(at)gmail(dot)com> wrote:
> - BufFileLoadBuffer() seems to deliberately ignore FileRead()'s return
> value if it is -1
> if (file->nbytes < 0) file->nbytes = 0;

Ok, that's a different problem we need to fix then. But it does
explain how we didn't know. And sure enough there is "unrecognized
win32 error code: 38" LOG-spam on the build farm, at places where
tuplestores are expected:

https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=whelk&dt=2019-11-20%2002%3A41%3A41&stg=check

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2019-11-20 05:16:13 Re: logical decoding : exceeded maxAllocatedDescs for .spill files
Previous Message Amit Kapila 2019-11-20 04:44:23 Re: logical decoding : exceeded maxAllocatedDescs for .spill files