pgsql: Use NULL instead of 0 for 'arg' argument in dshash_create() call

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема pgsql: Use NULL instead of 0 for 'arg' argument in dshash_create() call
Дата
Msg-id E1reir1-000vCz-Lv@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Use NULL instead of 0 for 'arg' argument in dshash_create() calls.

A couple of dshash_create() callers provide 0 for the 'void *arg'
argument, which might give readers the incorrect impression that
this is some sort of "flags" parameter.

Reviewed-by: Andy Fan
Discussion: https://postgr.es/m/20240119215941.GA1322079%40nathanxps13

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5fe08c006c826da4a7f5db2a79327477599edbc6

Modified Files
--------------
src/backend/replication/logical/launcher.c | 2 +-
src/backend/utils/activity/pgstat_shmem.c  | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Revise MERGE documentation
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Fix comment thinko in sequence.c