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
fab789ea
Commit
fab789ea
authored
May 04, 2007
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Suppress a recently-introduced 'variable might be clobbered by longjmp' warning.
parent
79ca7ffe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
src/backend/postmaster/autovacuum.c
src/backend/postmaster/autovacuum.c
+9
-5
No files found.
src/backend/postmaster/autovacuum.c
View file @
fab789ea
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.4
4 2007/05/02 18:27:57 alvherre
Exp $
* $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.4
5 2007/05/04 02:06:13 tgl
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -1288,7 +1288,7 @@ NON_EXEC_STATIC void
...
@@ -1288,7 +1288,7 @@ NON_EXEC_STATIC void
AutoVacWorkerMain
(
int
argc
,
char
*
argv
[])
AutoVacWorkerMain
(
int
argc
,
char
*
argv
[])
{
{
sigjmp_buf
local_sigjmp_buf
;
sigjmp_buf
local_sigjmp_buf
;
Oid
dbid
=
InvalidOid
;
Oid
dbid
;
/* we are a postmaster subprocess now */
/* we are a postmaster subprocess now */
IsUnderPostmaster
=
true
;
IsUnderPostmaster
=
true
;
...
@@ -1410,8 +1410,8 @@ AutoVacWorkerMain(int argc, char *argv[])
...
@@ -1410,8 +1410,8 @@ AutoVacWorkerMain(int argc, char *argv[])
SHMQueueInsertBefore
(
&
AutoVacuumShmem
->
av_runningWorkers
,
SHMQueueInsertBefore
(
&
AutoVacuumShmem
->
av_runningWorkers
,
&
MyWorkerInfo
->
wi_links
);
&
MyWorkerInfo
->
wi_links
);
/*
/*
* remove from the "starting" pointer, so that the launcher can start
a new
* remove from the "starting" pointer, so that the launcher can start
* worker if required
*
a new
worker if required
*/
*/
AutoVacuumShmem
->
av_startingWorker
=
INVALID_OFFSET
;
AutoVacuumShmem
->
av_startingWorker
=
INVALID_OFFSET
;
LWLockRelease
(
AutovacuumLock
);
LWLockRelease
(
AutovacuumLock
);
...
@@ -1423,8 +1423,11 @@ AutoVacWorkerMain(int argc, char *argv[])
...
@@ -1423,8 +1423,11 @@ AutoVacWorkerMain(int argc, char *argv[])
kill
(
AutoVacuumShmem
->
av_launcherpid
,
SIGUSR1
);
kill
(
AutoVacuumShmem
->
av_launcherpid
,
SIGUSR1
);
}
}
else
else
{
/* no worker entry for me, go away */
/* no worker entry for me, go away */
dbid
=
InvalidOid
;
LWLockRelease
(
AutovacuumLock
);
LWLockRelease
(
AutovacuumLock
);
}
if
(
OidIsValid
(
dbid
))
if
(
OidIsValid
(
dbid
))
{
{
...
@@ -1474,7 +1477,8 @@ AutoVacWorkerMain(int argc, char *argv[])
...
@@ -1474,7 +1477,8 @@ AutoVacWorkerMain(int argc, char *argv[])
}
}
/*
/*
* Return a WorkerInfo to the free list */
* Return a WorkerInfo to the free list
*/
static
void
static
void
FreeWorkerInfo
(
int
code
,
Datum
arg
)
FreeWorkerInfo
(
int
code
,
Datum
arg
)
{
{
...
...
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