warning in partioning code

From: Erik Rijkers <er(at)xs4all(dot)nl>
To: pgsql-hackers(at)postgresql(dot)org
Subject: warning in partioning code
Date: 2020-04-08 16:07:28
Message-ID: a215ee5722992bf27b77f0541f575454@xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

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.

thanks,

Erik Rijkers

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2020-04-08 16:28:10 Re: Let people set host(no)ssl settings from initdb
Previous Message Alvaro Herrera 2020-04-08 16:02:39 Re: DETACH PARTITION and FOR EACH ROW triggers on partitioned tables