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
640b91c3
Commit
640b91c3
authored
Apr 19, 2021
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use correct format placeholder for pids
Should be signed, not unsigned.
parent
c64dcc7f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
src/backend/postmaster/autovacuum.c
src/backend/postmaster/autovacuum.c
+1
-1
src/backend/postmaster/bgworker.c
src/backend/postmaster/bgworker.c
+1
-1
src/backend/replication/logical/snapbuild.c
src/backend/replication/logical/snapbuild.c
+1
-1
No files found.
src/backend/postmaster/autovacuum.c
View file @
640b91c3
...
...
@@ -1860,7 +1860,7 @@ autovac_balance_cost(void)
}
if
(
worker
->
wi_proc
!=
NULL
)
elog
(
DEBUG2
,
"autovac_balance_cost(pid=%
u
db=%u, rel=%u, dobalance=%s cost_limit=%d, cost_limit_base=%d, cost_delay=%g)"
,
elog
(
DEBUG2
,
"autovac_balance_cost(pid=%
d
db=%u, rel=%u, dobalance=%s cost_limit=%d, cost_limit_base=%d, cost_delay=%g)"
,
worker
->
wi_proc
->
pid
,
worker
->
wi_dboid
,
worker
->
wi_tableoid
,
worker
->
wi_dobalance
?
"yes"
:
"no"
,
worker
->
wi_cost_limit
,
worker
->
wi_cost_limit_base
,
...
...
src/backend/postmaster/bgworker.c
View file @
640b91c3
...
...
@@ -387,7 +387,7 @@ BackgroundWorkerStateChange(bool allow_new_workers)
rw
->
rw_worker
.
bgw_notify_pid
=
slot
->
worker
.
bgw_notify_pid
;
if
(
!
PostmasterMarkPIDForWorkerNotify
(
rw
->
rw_worker
.
bgw_notify_pid
))
{
elog
(
DEBUG1
,
"worker notification PID %l
u
is not valid"
,
elog
(
DEBUG1
,
"worker notification PID %l
d
is not valid"
,
(
long
)
rw
->
rw_worker
.
bgw_notify_pid
);
rw
->
rw_worker
.
bgw_notify_pid
=
0
;
}
...
...
src/backend/replication/logical/snapbuild.c
View file @
640b91c3
...
...
@@ -1541,7 +1541,7 @@ SnapBuildSerialize(SnapBuild *builder, XLogRecPtr lsn)
elog
(
DEBUG1
,
"serializing snapshot to %s"
,
path
);
/* to make sure only we will write to this tempfile, include pid */
sprintf
(
tmppath
,
"pg_logical/snapshots/%X-%X.snap.%
u
.tmp"
,
sprintf
(
tmppath
,
"pg_logical/snapshots/%X-%X.snap.%
d
.tmp"
,
LSN_FORMAT_ARGS
(
lsn
),
MyProcPid
);
/*
...
...
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