Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
4333eee8
Commit
4333eee8
authored
11 years ago
by
Alvaro Herrera
Browse files
Options
Downloads
Patches
Plain Diff
doc: bgw_main takes a Datum argument, not void *.
Per report from James Harper.
parent
6bfa88ac
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/src/sgml/bgworker.sgml
+2
-2
2 additions, 2 deletions
doc/src/sgml/bgworker.sgml
with
2 additions
and
2 deletions
doc/src/sgml/bgworker.sgml
+
2
−
2
View file @
4333eee8
...
...
@@ -47,7 +47,7 @@
<para>
The structure <structname>BackgroundWorker</structname> is defined thus:
<programlisting>
typedef void (*bgworker_main_type)(
void *
main_arg);
typedef void (*bgworker_main_type)(
Datum
main_arg);
typedef struct BackgroundWorker
{
char bgw_name[BGW_MAXLEN];
...
...
@@ -107,7 +107,7 @@ typedef struct BackgroundWorker
<para>
<structfield>bgw_main</structfield> is a pointer to the function to run when
the process is started. This function must take a single argument of type
<type>
void *
</> and return <type>void</>.
<type>
Datum
</> and return <type>void</>.
<structfield>bgw_main_arg</structfield> will be passed to it as its only
argument. Note that the global variable <literal>MyBgworkerEntry</literal>
points to a copy of the <structname>BackgroundWorker</structname> structure
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment