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
496439d9
Commit
496439d9
authored
Sep 19, 2013
by
Robert Haas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compiler warning in WaitForBackgroundWorkerStartup().
Per complaint from Andrew Gierth.
parent
6e5f6e59
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/backend/postmaster/bgworker.c
src/backend/postmaster/bgworker.c
+4
-2
No files found.
src/backend/postmaster/bgworker.c
View file @
496439d9
...
...
@@ -863,7 +863,6 @@ BgwHandleStatus
WaitForBackgroundWorkerStartup
(
BackgroundWorkerHandle
*
handle
,
pid_t
*
pidp
)
{
BgwHandleStatus
status
;
pid_t
pid
;
int
rc
;
bool
save_set_latch_on_sigusr1
;
...
...
@@ -874,9 +873,13 @@ WaitForBackgroundWorkerStartup(BackgroundWorkerHandle *handle, pid_t *pidp)
{
for
(;;)
{
pid_t
pid
;
CHECK_FOR_INTERRUPTS
();
status
=
GetBackgroundWorkerPid
(
handle
,
&
pid
);
if
(
status
==
BGWH_STARTED
)
*
pidp
=
pid
;
if
(
status
!=
BGWH_NOT_YET_STARTED
)
break
;
...
...
@@ -900,6 +903,5 @@ WaitForBackgroundWorkerStartup(BackgroundWorkerHandle *handle, pid_t *pidp)
PG_END_TRY
();
set_latch_on_sigusr1
=
save_set_latch_on_sigusr1
;
*
pidp
=
pid
;
return
status
;
}
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