File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 37
37
from its <function>_PG_init()</>.
38
38
The structure <structname>BackgroundWorker</structname> is defined thus:
39
39
<programlisting>
40
- typedef void (*bgworker_main_type)(void * main_arg);
40
+ typedef void (*bgworker_main_type)(Datum main_arg);
41
41
typedef struct BackgroundWorker
42
42
{
43
43
char bgw_name[BGW_MAXLEN];
@@ -94,7 +94,7 @@ typedef struct BackgroundWorker
94
94
<para>
95
95
<structfield>bgw_main</structfield> is a pointer to the function to run when
96
96
the process is started. This function must take a single argument of type
97
- <type>void * </> and return <type>void</>.
97
+ <type>Datum </> and return <type>void</>.
98
98
<structfield>bgw_main_arg</structfield> will be passed to it as its only
99
99
argument. Note that the global variable <literal>MyBgworkerEntry</literal>
100
100
points to a copy of the <structname>BackgroundWorker</structname> structure
You can’t perform that action at this time.
0 commit comments