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
f59b58e2
Commit
f59b58e2
authored
Apr 17, 2021
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use correct format placeholder for block numbers
Should be %u rather than %d.
parent
f24b1569
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
src/backend/access/gist/gistbuild.c
src/backend/access/gist/gistbuild.c
+2
-2
src/backend/access/heap/vacuumlazy.c
src/backend/access/heap/vacuumlazy.c
+1
-1
src/backend/replication/basebackup.c
src/backend/replication/basebackup.c
+2
-2
No files found.
src/backend/access/gist/gistbuild.c
View file @
f59b58e2
...
...
@@ -1212,7 +1212,7 @@ gistBufferingFindCorrectParent(GISTBuildState *buildstate,
* number.
*/
if
(
*
parentblkno
==
InvalidBlockNumber
)
elog
(
ERROR
,
"no parent buffer provided of child %
d
"
,
childblkno
);
elog
(
ERROR
,
"no parent buffer provided of child %
u
"
,
childblkno
);
parent
=
*
parentblkno
;
}
...
...
@@ -1545,7 +1545,7 @@ gistGetParent(GISTBuildState *buildstate, BlockNumber child)
HASH_FIND
,
&
found
);
if
(
!
found
)
elog
(
ERROR
,
"could not find parent of block %
d
in lookup table"
,
child
);
elog
(
ERROR
,
"could not find parent of block %
u
in lookup table"
,
child
);
return
entry
->
parentblkno
;
}
src/backend/access/heap/vacuumlazy.c
View file @
f59b58e2
...
...
@@ -2260,7 +2260,7 @@ static void
lazy_vacuum_heap_rel
(
LVRelState
*
vacrel
)
{
int
tupindex
;
int
vacuumed_pages
;
BlockNumber
vacuumed_pages
;
PGRUsage
ru0
;
Buffer
vmbuffer
=
InvalidBuffer
;
LVSavedErrInfo
saved_err_info
;
...
...
src/backend/replication/basebackup.c
View file @
f59b58e2
...
...
@@ -1676,7 +1676,7 @@ sendFile(const char *readfilename, const char *tarfilename,
{
ereport
(
WARNING
,
(
errmsg
(
"could not verify checksum in file
\"
%s
\"
, block "
"%
d
: read buffer size %d and page size %d "
"%
u
: read buffer size %d and page size %d "
"differ"
,
readfilename
,
blkno
,
(
int
)
cnt
,
BLCKSZ
)));
verify_checksum
=
false
;
...
...
@@ -1749,7 +1749,7 @@ sendFile(const char *readfilename, const char *tarfilename,
if
(
checksum_failures
<=
5
)
ereport
(
WARNING
,
(
errmsg
(
"checksum verification failed in "
"file
\"
%s
\"
, block %
d
: calculated "
"file
\"
%s
\"
, block %
u
: calculated "
"%X but expected %X"
,
readfilename
,
blkno
,
checksum
,
phdr
->
pd_checksum
)));
...
...
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