Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
4333eee8
Commit
4333eee8
authored
Feb 27, 2014
by
Alvaro Herrera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: bgw_main takes a Datum argument, not void *.
Per report from James Harper.
parent
6bfa88ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/src/sgml/bgworker.sgml
doc/src/sgml/bgworker.sgml
+2
-2
No files found.
doc/src/sgml/bgworker.sgml
View file @
4333eee8
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
<para>
<para>
The structure <structname>BackgroundWorker</structname> is defined thus:
The structure <structname>BackgroundWorker</structname> is defined thus:
<programlisting>
<programlisting>
typedef void (*bgworker_main_type)(
void *
main_arg);
typedef void (*bgworker_main_type)(
Datum
main_arg);
typedef struct BackgroundWorker
typedef struct BackgroundWorker
{
{
char bgw_name[BGW_MAXLEN];
char bgw_name[BGW_MAXLEN];
...
@@ -107,7 +107,7 @@ typedef struct BackgroundWorker
...
@@ -107,7 +107,7 @@ typedef struct BackgroundWorker
<para>
<para>
<structfield>bgw_main</structfield> is a pointer to the function to run when
<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
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
<structfield>bgw_main_arg</structfield> will be passed to it as its only
argument. Note that the global variable <literal>MyBgworkerEntry</literal>
argument. Note that the global variable <literal>MyBgworkerEntry</literal>
points to a copy of the <structname>BackgroundWorker</structname> structure
points to a copy of the <structname>BackgroundWorker</structname> structure
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment