File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1016,7 +1016,7 @@ logicalrep_launcher_attach_dshmem(void)
10161016 last_start_times_dsa = dsa_attach (LogicalRepCtx -> last_start_dsa );
10171017 dsa_pin_mapping (last_start_times_dsa );
10181018 last_start_times = dshash_attach (last_start_times_dsa , & dsh_params ,
1019- LogicalRepCtx -> last_start_dsh , 0 );
1019+ LogicalRepCtx -> last_start_dsh , NULL );
10201020 }
10211021
10221022 MemoryContextSwitchTo (oldcontext );
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ StatsShmemInit(void)
183183 p += MAXALIGN (pgstat_dsa_init_size ());
184184 dsa = dsa_create_in_place (ctl -> raw_dsa_area ,
185185 pgstat_dsa_init_size (),
186- LWTRANCHE_PGSTATS_DSA , 0 );
186+ LWTRANCHE_PGSTATS_DSA , NULL );
187187 dsa_pin (dsa );
188188
189189 /*
@@ -255,7 +255,8 @@ pgstat_attach_shmem(void)
255255 dsa_pin_mapping (pgStatLocal .dsa );
256256
257257 pgStatLocal .shared_hash = dshash_attach (pgStatLocal .dsa , & dsh_params ,
258- pgStatLocal .shmem -> hash_handle , 0 );
258+ pgStatLocal .shmem -> hash_handle ,
259+ NULL );
259260
260261 MemoryContextSwitchTo (oldcontext );
261262}
You can’t perform that action at this time.
0 commit comments