aboutsummaryrefslogtreecommitdiff
path: root/doc/src/sgml/bgworker.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/sgml/bgworker.sgml')
-rw-r--r--doc/src/sgml/bgworker.sgml6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/sgml/bgworker.sgml b/doc/src/sgml/bgworker.sgml
index 7d2ffd14fef..7ffeca5321a 100644
--- a/doc/src/sgml/bgworker.sgml
+++ b/doc/src/sgml/bgworker.sgml
@@ -40,12 +40,12 @@
typedef void (*bgworker_main_type)(void *main_arg);
typedef struct BackgroundWorker
{
- char *bgw_name;
+ char bgw_name[BGW_MAXLEN];
int bgw_flags;
BgWorkerStartTime bgw_start_time;
int bgw_restart_time; /* in seconds, or BGW_NEVER_RESTART */
- bgworker_main_type bgw_main;
- void *bgw_main_arg;
+ bgworker_main_type bgw_main;
+ Datum bgw_main_arg;
} BackgroundWorker;
</programlisting>
</para>