pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use NULL instead of 0 for pointer arguments.
Date: Fri, 06 Jun 2025 17:08:41 +0000
Message-ID: <E1uNaYb-000T4C-2h@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1uNaYb-000T4C-2h@gemulon.postgresql.org>
Permalink:  ../E1uNaYb-000T4C-2h@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1uNaYb-000T4C-2h@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Use NULL instead of 0 for pointer arguments.
  In-Reply-To: <E1uNaYb-000T4C-2h@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox