Re: Remove unnecessary forward declaration for heapam_methods variable - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Remove unnecessary forward declaration for heapam_methods variable
Date
Msg-id ZrHSSPCax3iFOipR@paquier.xyz
Whole thread Raw
In response to Remove unnecessary forward declaration for heapam_methods variable  (Japin Li <japinli@hotmail.com>)
List pgsql-hackers
On Wed, Jul 31, 2024 at 10:36:11AM +0800, Japin Li wrote:
> I think the forward declaration for heapam_methods variable in heapam_handler.c
> is unnecessary, right?

True.  This can be removed because all the code paths using
heapam_methods are after its declaration, so duplicating it makes
little sense.  Thanks, applied.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: jian he
Date:
Subject: Re: Detailed release notes
Next
From: Michael Paquier
Date:
Subject: Re: Injection points: preloading and runtime arguments