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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user