pgsql: Use NULL instead of 0 for pointer arguments.

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use NULL instead of 0 for pointer arguments.
Date: 2025-06-06 17:08:41
Message-ID: E1uNaYb-000T4C-2h@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)mshk(at)gmail(dot)com>
Reviewed-by: Michael Paquier <michael(at)paquier(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Jeff Davis 2025-06-06 22:47:23 pgsql: Improve CREATE DATABASE error message for invalid libc locale.
Previous Message Nathan Bossart 2025-06-06 16:41:42 pgsql: Fixed signed/unsigned mismatch in test_dsm_registry.