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
e1e97e93
Commit
e1e97e93
authored
Jun 18, 2012
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pg_dump: Add missing newlines at end of messages
parent
f9429746
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
src/bin/pg_dump/dumputils.c
src/bin/pg_dump/dumputils.c
+1
-1
src/bin/pg_dump/pg_backup_archiver.c
src/bin/pg_dump/pg_backup_archiver.c
+2
-2
src/bin/pg_dump/pg_backup_directory.c
src/bin/pg_dump/pg_backup_directory.c
+2
-2
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.c
+1
-1
No files found.
src/bin/pg_dump/dumputils.c
View file @
e1e97e93
...
...
@@ -1323,7 +1323,7 @@ void
on_exit_nicely
(
on_exit_nicely_callback
function
,
void
*
arg
)
{
if
(
on_exit_nicely_index
>=
MAX_ON_EXIT_NICELY
)
exit_horribly
(
NULL
,
"out of on_exit_nicely slots"
);
exit_horribly
(
NULL
,
"out of on_exit_nicely slots
\n
"
);
on_exit_nicely_list
[
on_exit_nicely_index
].
function
=
function
;
on_exit_nicely_list
[
on_exit_nicely_index
].
arg
=
arg
;
on_exit_nicely_index
++
;
...
...
src/bin/pg_dump/pg_backup_archiver.c
View file @
e1e97e93
...
...
@@ -1566,7 +1566,7 @@ buildTocEntryArrays(ArchiveHandle *AH)
{
/* this check is purely paranoia, maxDumpId should be correct */
if
(
te
->
dumpId
<=
0
||
te
->
dumpId
>
maxDumpId
)
exit_horribly
(
modulename
,
"bad dumpId"
);
exit_horribly
(
modulename
,
"bad dumpId
\n
"
);
/* tocsByDumpId indexes all TOCs by their dump ID */
AH
->
tocsByDumpId
[
te
->
dumpId
]
=
te
;
...
...
@@ -1587,7 +1587,7 @@ buildTocEntryArrays(ArchiveHandle *AH)
* item's dump ID, so there should be a place for it in the array.
*/
if
(
tableId
<=
0
||
tableId
>
maxDumpId
)
exit_horribly
(
modulename
,
"bad table dumpId for TABLE DATA item"
);
exit_horribly
(
modulename
,
"bad table dumpId for TABLE DATA item
\n
"
);
AH
->
tableDataId
[
tableId
]
=
te
->
dumpId
;
}
...
...
src/bin/pg_dump/pg_backup_directory.c
View file @
e1e97e93
...
...
@@ -652,7 +652,7 @@ createDirectory(const char *dir)
* between our two calls.
*/
if
(
mkdir
(
dir
,
0700
)
<
0
)
exit_horribly
(
modulename
,
"could not create directory %s: %s"
,
exit_horribly
(
modulename
,
"could not create directory %s: %s
\n
"
,
dir
,
strerror
(
errno
));
}
...
...
@@ -667,7 +667,7 @@ prependDirectory(ArchiveHandle *AH, const char *relativeFilename)
dname
=
ctx
->
directory
;
if
(
strlen
(
dname
)
+
1
+
strlen
(
relativeFilename
)
+
1
>
MAXPGPATH
)
exit_horribly
(
modulename
,
"file name too long:
\"
%s
\"
"
,
dname
);
exit_horribly
(
modulename
,
"file name too long:
\"
%s
\"
\n
"
,
dname
);
strcpy
(
buf
,
dname
);
strcat
(
buf
,
"/"
);
...
...
src/bin/pg_dump/pg_dump.c
View file @
e1e97e93
...
...
@@ -2531,7 +2531,7 @@ binary_upgrade_extension_member(PQExpBuffer upgrade_buffer,
extobj
=
NULL
;
}
if
(
extobj
==
NULL
)
exit_horribly
(
NULL
,
"could not find parent extension for %s"
,
objlabel
);
exit_horribly
(
NULL
,
"could not find parent extension for %s
\n
"
,
objlabel
);
appendPQExpBuffer
(
upgrade_buffer
,
"
\n
-- For binary upgrade, handle extension membership the hard way
\n
"
);
...
...
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