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
24c7000f
Commit
24c7000f
authored
Jul 02, 2019
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove redundant newlines from error messages
These are no longer needed/allowed with the new logging API.
parent
b4771d7c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
src/bin/pg_basebackup/pg_basebackup.c
src/bin/pg_basebackup/pg_basebackup.c
+2
-2
src/bin/pg_dump/pg_backup_tar.c
src/bin/pg_dump/pg_backup_tar.c
+1
-1
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.c
+1
-1
src/bin/pg_rewind/pg_rewind.c
src/bin/pg_rewind/pg_rewind.c
+1
-1
No files found.
src/bin/pg_basebackup/pg_basebackup.c
View file @
24c7000f
...
...
@@ -2236,7 +2236,7 @@ main(int argc, char **argv)
format
=
't'
;
else
{
pg_log_error
(
"invalid output format
\"
%s
\"
, must be
\"
plain
\"
or
\"
tar
\"
\n
"
,
pg_log_error
(
"invalid output format
\"
%s
\"
, must be
\"
plain
\"
or
\"
tar
\"
"
,
optarg
);
exit
(
1
);
}
...
...
@@ -2308,7 +2308,7 @@ main(int argc, char **argv)
compresslevel
=
atoi
(
optarg
);
if
(
compresslevel
<
0
||
compresslevel
>
9
)
{
pg_log_error
(
"invalid compression level
\"
%s
\"
\n
"
,
optarg
);
pg_log_error
(
"invalid compression level
\"
%s
\"
"
,
optarg
);
exit
(
1
);
}
break
;
...
...
src/bin/pg_dump/pg_backup_tar.c
View file @
24c7000f
...
...
@@ -568,7 +568,7 @@ _tarReadRaw(ArchiveHandle *AH, void *buf, size_t len, TAR_MEMBER *th, FILE *fh)
}
}
else
fatal
(
"internal error -- neither th nor fh specified in tarReadRaw()
\n
"
);
fatal
(
"internal error -- neither th nor fh specified in tarReadRaw()"
);
}
ctx
->
tarFHpos
+=
res
+
used
;
...
...
src/bin/pg_dump/pg_dump.c
View file @
24c7000f
...
...
@@ -13484,7 +13484,7 @@ dumpCollation(Archive *fout, CollInfo *collinfo)
/* to allow dumping pg_catalog; not accepted on input */
appendPQExpBufferStr
(
q
,
"default"
);
else
fatal
(
"unrecognized collation provider: %s
\n
"
,
fatal
(
"unrecognized collation provider: %s"
,
collprovider
);
if
(
strcmp
(
PQgetvalue
(
res
,
0
,
i_collisdeterministic
),
"f"
)
==
0
)
...
...
src/bin/pg_rewind/pg_rewind.c
View file @
24c7000f
...
...
@@ -555,7 +555,7 @@ getTimelineHistory(ControlFileData *controlFile, int *nentries)
else
if
(
controlFile
==
&
ControlFile_target
)
histfile
=
slurpFile
(
datadir_target
,
path
,
NULL
);
else
pg_fatal
(
"invalid control file
\n
"
);
pg_fatal
(
"invalid control file"
);
history
=
rewind_parseTimeLineHistory
(
histfile
,
tli
,
nentries
);
pg_free
(
histfile
);
...
...
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