Re: Extra blank line in StrategyGetBuffer - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Extra blank line in StrategyGetBuffer
Date
Msg-id aQ6wz0NIX8mSkzt5@momjian.us
Whole thread Raw
In response to Extra blank line in StrategyGetBuffer  (Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>)
List pgsql-hackers
Agreed, patch applied, thanks.

---------------------------------------------------------------------------

On Tue, Nov  4, 2025 at 02:27:12PM +0530, Ashutosh Bapat wrote:
> Hi Andres,
> It seems that 5e89985928795f243dc287210c2aa016dfd00bfe left an extra
> line in StrategyGetBetter(). Doesn't seem to be intentional. But it's
> mildly confusing to miss a parentheses on that line. PFA patch fixing
> it.
> 
> -- 
> Best Wishes,
> Ashutosh Bapat

> diff --git a/src/backend/storage/buffer/freelist.c b/src/backend/storage/buffer/freelist.c
> index 7fe34d3ef4c..552fcd0f217 100644
> --- a/src/backend/storage/buffer/freelist.c
> +++ b/src/backend/storage/buffer/freelist.c
> @@ -301,7 +301,6 @@ StrategyGetBuffer(BufferAccessStrategy strategy, uint32 *buf_state, bool *from_r
>                      return buf;
>                  }
>              }
> -
>          }
>      }
>  }


-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Do not let urgent matters crowd out time for investment in the future.



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Support allocating memory for large strings
Next
From: Manni Wood
Date:
Subject: Re: [PATCH] Add pg_get_tablespace_ddl() function to reconstruct CREATE TABLESPACE statement