projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1460b19
)
Use Size instead of uint32 to store result of sizeof()
author
Heikki Linnakangas
Mon, 5 May 2014 13:17:16 +0000
(16:17 +0300)
committer
Heikki Linnakangas
Mon, 5 May 2014 13:17:16 +0000
(16:17 +0300)
Silences coverity and is more consistent with other functions in the
same file.
Andres Freund
src/backend/replication/logical/snapbuild.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/replication/logical/snapbuild.c
b/src/backend/replication/logical/snapbuild.c
index c462e9059d64018db90a37c32f36da521d2feb48..36034dbec9dd33f36013a905481ae80aae9a5b07 100644
(file)
--- a/
src/backend/replication/logical/snapbuild.c
+++ b/
src/backend/replication/logical/snapbuild.c
@@
-1431,7
+1431,7
@@
SnapBuildSerialize(SnapBuild *builder, XLogRecPtr lsn)
char path[MAXPGPATH];
int ret;
struct stat stat_buf;
-
uint32
sz;
+
Size
sz;
Assert(lsn != InvalidXLogRecPtr);
Assert(builder->last_serialized_snapshot == InvalidXLogRecPtr ||