1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-04 20:11:56 +03:00

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
This commit is contained in:
Nathan Bossart
2025-06-06 12:08:17 -05:00
parent 304862973e
commit a31767fc09
2 changed files with 4 additions and 3 deletions

View File

@@ -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);