aboutsummaryrefslogtreecommitdiff
path: root/src/backend/replication
diff options
context:
space:
mode:
authorNathan Bossart <nathan@postgresql.org>2025-06-06 12:08:17 -0500
committerNathan Bossart <nathan@postgresql.org>2025-06-06 12:08:17 -0500
commita31767fc0935bf8dce884ed35dbe644516d0115e (patch)
treec4d515f51f83020cb073ad197de3275d311f823c /src/backend/replication
parent304862973e9a77c31cbf05d10b8b71c1a2870e59 (diff)
downloadpostgresql-a31767fc0935bf8dce884ed35dbe644516d0115e.tar.gz
postgresql-a31767fc0935bf8dce884ed35dbe644516d0115e.zip
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
Diffstat (limited to 'src/backend/replication')
-rw-r--r--src/backend/replication/logical/launcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/replication/logical/launcher.c b/src/backend/replication/logical/launcher.c
index 10677da56b2..1c3c051403d 100644
--- a/src/backend/replication/logical/launcher.c
+++ b/src/backend/replication/logical/launcher.c
@@ -1016,7 +1016,7 @@ logicalrep_launcher_attach_dshmem(void)
last_start_times_dsa = dsa_attach(LogicalRepCtx->last_start_dsa);
dsa_pin_mapping(last_start_times_dsa);
last_start_times = dshash_attach(last_start_times_dsa, &dsh_params,
- LogicalRepCtx->last_start_dsh, 0);
+ LogicalRepCtx->last_start_dsh, NULL);
}
MemoryContextSwitchTo(oldcontext);