Use NULL instead of 0 for 'arg' argument in dshash_create() calls.
Nathan Bossart <nathan@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/logical/launcher.c | modified | +1 −1 |
| src/backend/utils/activity/pgstat_shmem.c | modified | +1 −1 |
Discussion
- cleanup patches for dshash 7 messages · 2024-01-19 → 2024-02-27