Re: warning in partioning code - Mailing list pgsql-hackers

From Etsuro Fujita
Subject Re: warning in partioning code
Date
Msg-id CAPmGK14Wjp_WcPiZcRb42xw4J+K_csZdCTTgBfvab4zeiDENHA@mail.gmail.com
Whole thread Raw
In response to warning in partioning code  (Erik Rijkers <er@xs4all.nl>)
List pgsql-hackers
Hi Erik,

On Thu, Apr 9, 2020 at 1:07 AM Erik Rijkers <er@xs4all.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



pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: Let people set host(no)ssl settings from initdb
Next
From: David Steele
Date:
Subject: Re: Commitfest 2020-03 Now in Progress