Use more consistent *GetDatum() macros for some unsigned numbers This patch switches some code paths to use GetDatum() macros more in line with the data types of the variables they manipulate. This set of changes does not fix a problem, but it is always nice to be more consistent across the board.
Author: Kirill Reshke <[email protected]> Reviewed-by: Roman Khapov <[email protected]> Reviewed-by: Yuan Li <[email protected]> Reviewed-by: Michael Paquier <[email protected]> Reviewed-by: Man Zeng <[email protected]> Discussion: https://postgr.es/m/caldsspidtc7j3mwhkqrj0k2hyp36ztnnjst6qzgxqtiepr1...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/6dcfac9696cbb72a975ec964e88b78e6e90870c0 Modified Files -------------- contrib/pageinspect/btreefuncs.c | 2 +- contrib/pageinspect/ginfuncs.c | 2 +- contrib/pageinspect/gistfuncs.c | 4 ++-- contrib/pg_buffercache/pg_buffercache_pages.c | 2 +- src/backend/access/brin/brin_inclusion.c | 2 +- src/backend/access/brin/brin_minmax.c | 2 +- src/backend/access/brin/brin_minmax_multi.c | 2 +- src/backend/access/gist/gistget.c | 4 ++-- src/backend/utils/adt/lockfuncs.c | 4 ++-- 9 files changed, 12 insertions(+), 12 deletions(-)
