We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bb5ea4 commit f21a0deCopy full SHA for f21a0de
contrib/shared_ispell/src/shared_ispell.c
@@ -179,14 +179,13 @@ ispell_shmem_startup()
179
segment = ShmemInitStruct(SEGMENT_NAME,
180
max_ispell_mem_size(),
181
&found);
182
+ segment_info = (SegmentInfo *) segment;
183
184
/* Was the shared memory segment already initialized? */
185
if (!found)
186
{
187
memset(segment, 0, max_ispell_mem_size());
188
- segment_info = (SegmentInfo *) segment;
189
-
190
#if PG_VERSION_NUM >= 90600
191
segment_info->lock = &(GetNamedLWLockTranche("shared_ispell"))->lock;
192
#else
0 commit comments