warning in partioning code - Mailing list pgsql-hackers

From Erik Rijkers
Subject warning in partioning code
Date
Msg-id a215ee5722992bf27b77f0541f575454@xs4all.nl
Whole thread Raw
Responses Re: warning in partioning code
List 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



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: DETACH PARTITION and FOR EACH ROW triggers on partitioned tables
Next
From: David Fetter
Date:
Subject: Re: Let people set host(no)ssl settings from initdb