pgsql: Use int instead of size_t in procarray.c.

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема pgsql: Use int instead of size_t in procarray.c.
Дата
Msg-id E1mQiU9-00006e-7m@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Use int instead of size_t in procarray.c.

All size_t variables declared in procarray.c are actually int ones.
Let's use int instead of size_t for those variables. Which would
reduce Wsign-compare compiler warnings.

Back-patch to v14 where commit 941697c3c1 added size_t variables
in procarray.c, to make future back-patching easy though
this patch is classified as refactoring only.

Reported-by: Ranier Vilela
Author: Ranier Vilela, Aleksander Alekseev
https://postgr.es/m/CAEudQAqyoTZC670xWi6w-Oe2_Bk1bfu2JzXz6xRfiOUzm7xbyQ@mail.gmail.com

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/fe8821ca7da4bc1f72688cece0b7f2c3076d813d

Modified Files
--------------
src/backend/storage/ipc/procarray.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Support "postgres -C" with runtime-computed GUCs
Следующее
От: Fujii Masao
Дата:
Сообщение: pgsql: Use int instead of size_t in procarray.c.