Re: BUG #17355: Server crashes on ExecReScanForeignScan in postgres_fdw when accessing foreign partition

From: Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com>
To: Marina Polyakova <m(dot)polyakova(at)postgrespro(dot)ru>
Cc: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Alexander Lakhin <exclusion(at)gmail(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #17355: Server crashes on ExecReScanForeignScan in postgres_fdw when accessing foreign partition
Date: 2022-02-04 00:56:42
Message-ID: CAPmGK15zJftqi_LmFCU18bu6MHMTqLZcDS-0S0rZzhOkgWY+sQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Feb 3, 2022 at 7:37 PM Marina Polyakova
<m(dot)polyakova(at)postgrespro(dot)ru> wrote:
> Looks like gcc 11.2.0 is now reporting a warning in the branches
> master/REL_14_STABLE, e.g. see CI
> https://github.com/postgres/postgres/runs/5047720839:
>
> [06:30:18.201] nodeForeignscan.c: In function ‘ForeignNext’:
> [06:30:18.201] nodeForeignscan.c:47:13: error: unused variable ‘estate’
> [-Werror=unused-variable]
> [06:30:18.201] 47 | EState *estate = node->ss.ps.state;
> [06:30:18.201] | ^~~~~~
>
> Please could you fix it?

Sorry, my oversight. Andres fixed this independently.

Thanks for the report!

Best regards,
Etsuro Fujita

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message ideriha.takeshi@fujitsu.com 2022-02-04 01:01:46 RE: The follwing error sometimes happened while updating partitioned table using inheritance; ERROR: attribute xxx of type record has wrong type
Previous Message PG Bug reporting form 2022-02-03 21:40:07 BUG #17394: pg_dump: query returned 0 rows instead of one: