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
c8d45152
Commit
c8d45152
authored
May 24, 2011
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Message improvements
parent
cc24fb41
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/bin/pg_basebackup/pg_basebackup.c
src/bin/pg_basebackup/pg_basebackup.c
+4
-4
No files found.
src/bin/pg_basebackup/pg_basebackup.c
View file @
c8d45152
...
@@ -574,7 +574,7 @@ ReceiveAndUnpackTarFile(PGconn *conn, PGresult *res, int rownum)
...
@@ -574,7 +574,7 @@ ReceiveAndUnpackTarFile(PGconn *conn, PGresult *res, int rownum)
if
(
symlink
(
&
copybuf
[
157
],
fn
)
!=
0
)
if
(
symlink
(
&
copybuf
[
157
],
fn
)
!=
0
)
{
{
fprintf
(
stderr
,
fprintf
(
stderr
,
_
(
"%s: could not create symbolic link from
%s to %s
: %s
\n
"
),
_
(
"%s: could not create symbolic link from
\"
%s
\"
to
\"
%s
\"
: %s
\n
"
),
progname
,
fn
,
&
copybuf
[
157
],
strerror
(
errno
));
progname
,
fn
,
&
copybuf
[
157
],
strerror
(
errno
));
disconnect_and_exit
(
1
);
disconnect_and_exit
(
1
);
}
}
...
@@ -659,7 +659,7 @@ ReceiveAndUnpackTarFile(PGconn *conn, PGresult *res, int rownum)
...
@@ -659,7 +659,7 @@ ReceiveAndUnpackTarFile(PGconn *conn, PGresult *res, int rownum)
if
(
file
!=
NULL
)
if
(
file
!=
NULL
)
{
{
fprintf
(
stderr
,
_
(
"%s:
last file was never
finished
\n
"
),
progname
);
fprintf
(
stderr
,
_
(
"%s:
COPY stream ended before last file was
finished
\n
"
),
progname
);
disconnect_and_exit
(
1
);
disconnect_and_exit
(
1
);
}
}
...
@@ -780,7 +780,7 @@ BaseBackup(void)
...
@@ -780,7 +780,7 @@ BaseBackup(void)
if
(
PQsendQuery
(
conn
,
current_path
)
==
0
)
if
(
PQsendQuery
(
conn
,
current_path
)
==
0
)
{
{
fprintf
(
stderr
,
_
(
"%s: could not s
tart base backup
: %s"
),
fprintf
(
stderr
,
_
(
"%s: could not s
end base backup command
: %s"
),
progname
,
PQerrorMessage
(
conn
));
progname
,
PQerrorMessage
(
conn
));
disconnect_and_exit
(
1
);
disconnect_and_exit
(
1
);
}
}
...
@@ -876,7 +876,7 @@ BaseBackup(void)
...
@@ -876,7 +876,7 @@ BaseBackup(void)
res
=
PQgetResult
(
conn
);
res
=
PQgetResult
(
conn
);
if
(
PQresultStatus
(
res
)
!=
PGRES_TUPLES_OK
)
if
(
PQresultStatus
(
res
)
!=
PGRES_TUPLES_OK
)
{
{
fprintf
(
stderr
,
_
(
"%s: could not get
end xlog
position from server
\n
"
),
fprintf
(
stderr
,
_
(
"%s: could not get
WAL end
position from server
\n
"
),
progname
);
progname
);
disconnect_and_exit
(
1
);
disconnect_and_exit
(
1
);
}
}
...
...
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