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
863d7543
Commit
863d7543
authored
Sep 04, 2017
by
Alvaro Herrera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix translatable string
Discussion:
https://postgr.es/m/20170828130545.sdajqlpr37hmmd6a@alvherre.pgsql
parent
4faa1dc2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
src/bin/pg_rewind/libpq_fetch.c
src/bin/pg_rewind/libpq_fetch.c
+8
-2
No files found.
src/bin/pg_rewind/libpq_fetch.c
View file @
863d7543
...
@@ -270,6 +270,7 @@ receiveFileChunks(const char *sql)
...
@@ -270,6 +270,7 @@ receiveFileChunks(const char *sql)
char
*
filename
;
char
*
filename
;
int
filenamelen
;
int
filenamelen
;
int64
chunkoff
;
int64
chunkoff
;
char
chunkoff_str
[
32
];
int
chunksize
;
int
chunksize
;
char
*
chunk
;
char
*
chunk
;
...
@@ -342,8 +343,13 @@ receiveFileChunks(const char *sql)
...
@@ -342,8 +343,13 @@ receiveFileChunks(const char *sql)
continue
;
continue
;
}
}
pg_log
(
PG_DEBUG
,
"received chunk for file
\"
%s
\"
, offset "
INT64_FORMAT
", size %d
\n
"
,
/*
filename
,
chunkoff
,
chunksize
);
* Separate step to keep platform-dependent format code out of
* translatable strings.
*/
snprintf
(
chunkoff_str
,
sizeof
(
chunkoff_str
),
INT64_FORMAT
,
chunkoff
);
pg_log
(
PG_DEBUG
,
"received chunk for file
\"
%s
\"
, offset %s, size %d
\n
"
,
filename
,
chunkoff_str
,
chunksize
);
open_target_file
(
filename
,
false
);
open_target_file
(
filename
,
false
);
...
...
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