Re: warning in partioning code

From: Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com>
To: Erik Rijkers <er(at)xs4all(dot)nl>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: warning in partioning code
Date: 2020-04-08 16:36:14
Message-ID: CAPmGK14Wjp_WcPiZcRb42xw4J+K_csZdCTTgBfvab4zeiDENHA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Erik,

On Thu, Apr 9, 2020 at 1:07 AM Erik Rijkers <er(at)xs4all(dot)nl> wrote:
> Compiling master on debian stretch, gcc 9.3.0 complains:
>
> partbounds.c: In function ‘partition_bounds_merge’:
> partbounds.c:1024:21: warning: unused variable ‘inner_binfo’
> [-Wunused-variable]
> 1024 | PartitionBoundInfo inner_binfo = inner_rel->boundinfo;
> | ^~~~~~~~~~~
>
> Maybe it can be fixed.

Yeah, that is a known issue [1]. I'll work on that tomorrow. (I'm
too tired today.) Thanks for the report!

Best regards,
Etsuro Fujita

[1] https://www.postgresql.org/message-id/CAGz5QCJ1gBhg6upU0%2BpkYmHZsj%2BOaMgXCAf2GBVEm_k6%2BUr0zQ%40mail.gmail.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Steele 2020-04-08 16:36:37 Re: Commitfest 2020-03 Now in Progress
Previous Message David Fetter 2020-04-08 16:28:10 Re: Let people set host(no)ssl settings from initdb