Re: Remove unnecessary forward declaration for heapam_methods variable

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Japin Li <japinli(at)hotmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Remove unnecessary forward declaration for heapam_methods variable
Date: 2024-08-06 07:35:36
Message-ID: ZrHSSPCax3iFOipR@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2024-08-06 07:47:15 Re: Injection points: preloading and runtime arguments
Previous Message jian he 2024-08-06 07:30:25 Re: Detailed release notes