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
5cc380f9
Commit
5cc380f9
authored
Aug 01, 2004
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Error message style adjustments, per Alvaro Herrera.
parent
efcaf1e8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
src/backend/access/transam/xlog.c
src/backend/access/transam/xlog.c
+4
-4
src/backend/postmaster/pgarch.c
src/backend/postmaster/pgarch.c
+2
-2
src/backend/postmaster/postmaster.c
src/backend/postmaster/postmaster.c
+2
-2
No files found.
src/backend/access/transam/xlog.c
View file @
5cc380f9
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.15
2 2004/07/22 21:09:37
tgl Exp $
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.15
3 2004/08/01 17:45:42
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -1936,7 +1936,7 @@ RestoreArchivedFile(char *path, const char *xlogfname,
if
(
unlink
(
xlogpath
)
!=
0
)
ereport
(
FATAL
,
(
errcode_for_file_access
(),
errmsg
(
"could not remove
\"
%s
\"
: %m"
,
errmsg
(
"could not remove
file
\"
%s
\"
: %m"
,
xlogpath
)));
}
...
...
@@ -3772,7 +3772,7 @@ exitArchiveRecovery(TimeLineID endTLI, uint32 endLogId, uint32 endLogSeg)
if
(
rename
(
recoveryPath
,
xlogpath
)
!=
0
)
ereport
(
FATAL
,
(
errcode_for_file_access
(),
errmsg
(
"could not rename
\"
%s
\"
to
\"
%s
\"
: %m"
,
errmsg
(
"could not rename
file
\"
%s
\"
to
\"
%s
\"
: %m"
,
recoveryPath
,
xlogpath
)));
/* XXX might we need to fix permissions on the file? */
}
...
...
@@ -3814,7 +3814,7 @@ exitArchiveRecovery(TimeLineID endTLI, uint32 endLogId, uint32 endLogSeg)
if
(
rename
(
recoveryCommandFile
,
recoveryCommandDone
)
!=
0
)
ereport
(
FATAL
,
(
errcode_for_file_access
(),
errmsg
(
"could not rename
\"
%s
\"
to
\"
%s
\"
: %m"
,
errmsg
(
"could not rename
file
\"
%s
\"
to
\"
%s
\"
: %m"
,
recoveryCommandFile
,
recoveryCommandDone
)));
ereport
(
LOG
,
...
...
src/backend/postmaster/pgarch.c
View file @
5cc380f9
...
...
@@ -19,7 +19,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/postmaster/pgarch.c,v 1.
2 2004/07/21 22:31:22
tgl Exp $
* $PostgreSQL: pgsql/src/backend/postmaster/pgarch.c,v 1.
3 2004/08/01 17:45:43
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -587,6 +587,6 @@ pgarch_archiveDone(char *xlog)
if
(
rename
(
rlogready
,
rlogdone
)
<
0
)
ereport
(
WARNING
,
(
errcode_for_file_access
(),
errmsg
(
"could not rename
\"
%s
\"
to
\"
%s
\"
: %m"
,
errmsg
(
"could not rename
file
\"
%s
\"
to
\"
%s
\"
: %m"
,
rlogready
,
rlogdone
)));
}
src/backend/postmaster/postmaster.c
View file @
5cc380f9
...
...
@@ -37,7 +37,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.41
7 2004/07/31 00:45:3
3 tgl Exp $
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.41
8 2004/08/01 17:45:4
3 tgl Exp $
*
* NOTES
*
...
...
@@ -544,7 +544,7 @@ PostmasterMain(int argc, char *argv[])
if
(
!
guc_pgdata
)
/* Got a pgdata from the config file? */
{
write_stderr
(
"%s does not know where to find the database system data.
\n
"
"This should be specified as
'pgdata'
in %s%s.
\n
"
,
"This should be specified as
\"
pgdata
\"
in %s%s.
\n
"
,
progname
,
userPGDATA
,
user_pgconfig_is_dir
?
"/postgresql.conf"
:
""
);
ExitPostmaster
(
2
);
...
...
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