From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Convert macros to static inline functions (block.h) |
Date: | 2022-07-07 06:51:19 |
Message-ID: | E1o9LM6-001bKO-7v@gemulon.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Convert macros to static inline functions (block.h)
Remove BlockIdIsValid(), which wasn't used and is unnecessary.
Remove BlockIdCopy(), which wasn't used and can be done by struct
assignment.
(BlockIdEquals() also isn't used, but seems reasonable to keep
around.)
Reviewed-by: Amul Sul <sulamul(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/5b558da8-99fb-0a99-83dd-f72f05388517%40enterprisedb.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/d63d957e330c611f7a8c0ed02e4407f40f975026
Modified Files
--------------
src/include/storage/block.h | 53 ++++++++++++++++++++-------------------------
1 file changed, 23 insertions(+), 30 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Etsuro Fujita | 2022-07-07 07:33:04 | pgsql: postgres_fdw: Fix grammar. |
Previous Message | Michael Paquier | 2022-07-07 04:26:36 | pgsql: Make Windows 10 the minimal runtime requirement for WIN32 |