Use NULL instead of 0 for pointer arguments.
Nathan Bossart <nathan@postgresql.org>
Use NULL instead of 0 for pointer arguments. Commit 5fe08c006c fixed this for calls to dshash_create(). This commit fixes calls to dshash_attach() and dsa_create_in_place(). Reviewed-by: Masahiko Sawada <sawada.mshk@gmail.com> Reviewed-by: Michael Paquier <michael@paquier.xyz> Discussion: https://postgr.es/m/aECi_gSD9JnVWQ8T%40nathan
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/logical/launcher.c | modified | +1 −1 |
| src/backend/utils/activity/pgstat_shmem.c | modified | +3 −2 |
Discussion
- a couple of small cleanup patches for DSM-related code 4 messages · 2025-06-04 → 2025-06-06