Re: Remove unnecessary forward declaration for heapam_methods variable

2024-08-06 Thread Michael Paquier
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 litt

Remove unnecessary forward declaration for heapam_methods variable

2024-07-30 Thread Japin Li
ove unnecessary forward declaration for heapam_methods variable --- src/backend/access/heap/heapam_handler.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/backend/access/heap/heapam_handler.c b/src/backend/access/heap/heapam_handler.c index 6f8b1b7929..e28047c201 100644 --- a/src/backend/acc