pgsql: Convert macros to static inline functions (block.h)

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Convert macros to static inline functions (block.h)
Дата
Msg-id E1o9LM6-001bKO-7v@gemulon.postgresql.org
обсуждение исходный текст
Список 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@gmail.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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Make Windows 10 the minimal runtime requirement for WIN32
Следующее
От: Etsuro Fujita
Дата:
Сообщение: pgsql: postgres_fdw: Fix grammar.