pgsql: Use NULL instead of 0 for pointer arguments. - Mailing list pgsql-committers

From Nathan Bossart
Subject pgsql: Use NULL instead of 0 for pointer arguments.
Date
Msg-id E1uNaYb-000T4C-2h@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

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

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


pgsql-committers by date:

Previous
From: Nathan Bossart
Date:
Subject: pgsql: Fixed signed/unsigned mismatch in test_dsm_registry.
Next
From: Jeff Davis
Date:
Subject: pgsql: Improve CREATE DATABASE error message for invalid libc locale.