Use NULL instead of 0 for 'arg' argument in dshash_create() calls.
commit5fe08c006c826da4a7f5db2a79327477599edbc6
authorNathan Bossart <nathan@postgresql.org>
Mon, 26 Feb 2024 21:46:01 +0000 (26 15:46 -0600)
committerNathan Bossart <nathan@postgresql.org>
Mon, 26 Feb 2024 21:46:01 +0000 (26 15:46 -0600)
tree2f2e34f47f5d151fa3a9e1806a6d1c313bf3c859
parent6979ea2638a51c40acf6d04b816550b2c35b3e55
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
src/backend/replication/logical/launcher.c
src/backend/utils/activity/pgstat_shmem.c