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
0ed3c766
Commit
0ed3c766
authored
Nov 05, 2004
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small message clarifications
parent
a23db90c
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
12 deletions
+13
-12
src/backend/access/transam/xlog.c
src/backend/access/transam/xlog.c
+3
-3
src/backend/commands/tablespace.c
src/backend/commands/tablespace.c
+3
-3
src/backend/main/main.c
src/backend/main/main.c
+3
-2
src/backend/postmaster/bgwriter.c
src/backend/postmaster/bgwriter.c
+2
-2
src/backend/storage/smgr/smgr.c
src/backend/storage/smgr/smgr.c
+2
-2
No files found.
src/backend/access/transam/xlog.c
View file @
0ed3c766
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.17
5 2004/10/29 00:16:08 tgl
Exp $
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.17
6 2004/11/05 17:10:56 petere
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -1660,7 +1660,7 @@ XLogFileCopy(uint32 log, uint32 seg,
...
@@ -1660,7 +1660,7 @@ XLogFileCopy(uint32 log, uint32 seg,
errmsg
(
"could not read file
\"
%s
\"
: %m"
,
path
)));
errmsg
(
"could not read file
\"
%s
\"
: %m"
,
path
)));
else
else
ereport
(
PANIC
,
ereport
(
PANIC
,
(
errmsg
(
"
insufficient
data in file
\"
%s
\"
"
,
path
)));
(
errmsg
(
"
not enough
data in file
\"
%s
\"
"
,
path
)));
}
}
errno
=
0
;
errno
=
0
;
if
((
int
)
write
(
fd
,
buffer
,
sizeof
(
buffer
))
!=
(
int
)
sizeof
(
buffer
))
if
((
int
)
write
(
fd
,
buffer
,
sizeof
(
buffer
))
!=
(
int
)
sizeof
(
buffer
))
...
@@ -2049,7 +2049,7 @@ RestoreArchivedFile(char *path, const char *xlogfname,
...
@@ -2049,7 +2049,7 @@ RestoreArchivedFile(char *path, const char *xlogfname,
* program incorrectly. We have to assume the former.
* program incorrectly. We have to assume the former.
*/
*/
ereport
(
DEBUG1
,
ereport
(
DEBUG1
,
(
errmsg
(
"could not restore
\"
%s
\"
from archive: return code %d"
,
(
errmsg
(
"could not restore
file
\"
%s
\"
from archive: return code %d"
,
xlogfname
,
rc
)));
xlogfname
,
rc
)));
/*
/*
...
...
src/backend/commands/tablespace.c
View file @
0ed3c766
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/commands/tablespace.c,v 1.1
2 2004/10/17 20:47:20 tgl
Exp $
* $PostgreSQL: pgsql/src/backend/commands/tablespace.c,v 1.1
3 2004/11/05 17:11:05 petere
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -589,7 +589,7 @@ remove_tablespace_directories(Oid tablespaceoid, bool redo)
...
@@ -589,7 +589,7 @@ remove_tablespace_directories(Oid tablespaceoid, bool redo)
if
(
errno
!=
ENOENT
)
if
(
errno
!=
ENOENT
)
ereport
(
ERROR
,
ereport
(
ERROR
,
(
errcode_for_file_access
(),
(
errcode_for_file_access
(),
errmsg
(
"could not
unlink
file
\"
%s
\"
: %m"
,
errmsg
(
"could not
remove
file
\"
%s
\"
: %m"
,
subfile
)));
subfile
)));
}
}
...
@@ -614,7 +614,7 @@ remove_tablespace_directories(Oid tablespaceoid, bool redo)
...
@@ -614,7 +614,7 @@ remove_tablespace_directories(Oid tablespaceoid, bool redo)
if
(
unlink
(
location
)
<
0
)
if
(
unlink
(
location
)
<
0
)
ereport
(
ERROR
,
ereport
(
ERROR
,
(
errcode_for_file_access
(),
(
errcode_for_file_access
(),
errmsg
(
"could not
unlink
symbolic link
\"
%s
\"
: %m"
,
errmsg
(
"could not
remove
symbolic link
\"
%s
\"
: %m"
,
location
)));
location
)));
}
}
...
...
src/backend/main/main.c
View file @
0ed3c766
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/main/main.c,v 1.9
1 2004/10/12 21:54:38
petere Exp $
* $PostgreSQL: pgsql/src/backend/main/main.c,v 1.9
2 2004/11/05 17:11:17
petere Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -243,7 +243,8 @@ main(int argc, char *argv[])
...
@@ -243,7 +243,8 @@ main(int argc, char *argv[])
#else
/* WIN32 */
#else
/* WIN32 */
if
(
pgwin32_is_admin
())
if
(
pgwin32_is_admin
())
{
{
write_stderr
(
"Execution of PostgreSQL by a user with administrative permissions is not permitted.
\n
"
write_stderr
(
"Execution of PostgreSQL by a user with administrative permissions is not
\n
"
"permitted.
\n
"
"The server must be started under an unprivileged user ID to prevent
\n
"
"The server must be started under an unprivileged user ID to prevent
\n
"
"possible system security compromises. See the documentation for
\n
"
"possible system security compromises. See the documentation for
\n
"
"more information on how to properly start the server.
\n
"
);
"more information on how to properly start the server.
\n
"
);
...
...
src/backend/postmaster/bgwriter.c
View file @
0ed3c766
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/postmaster/bgwriter.c,v 1.1
0 2004/10/28 00:39:59 tgl
Exp $
* $PostgreSQL: pgsql/src/backend/postmaster/bgwriter.c,v 1.1
1 2004/11/05 17:11:28 petere
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -553,7 +553,7 @@ RequestCheckpoint(bool waitforit)
...
@@ -553,7 +553,7 @@ RequestCheckpoint(bool waitforit)
if
(
bgs
->
ckpt_failed
!=
old_failed
)
if
(
bgs
->
ckpt_failed
!=
old_failed
)
ereport
(
ERROR
,
ereport
(
ERROR
,
(
errmsg
(
"checkpoint request failed"
),
(
errmsg
(
"checkpoint request failed"
),
errhint
(
"Consult the
postmast
er log for details."
)));
errhint
(
"Consult the
serv
er log for details."
)));
}
}
}
}
...
...
src/backend/storage/smgr/smgr.c
View file @
0ed3c766
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/storage/smgr/smgr.c,v 1.8
2 2004/09/06 17:56:16 tgl
Exp $
* $PostgreSQL: pgsql/src/backend/storage/smgr/smgr.c,v 1.8
3 2004/11/05 17:11:34 petere
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -454,7 +454,7 @@ smgr_internal_unlink(RelFileNode rnode, int which, bool isTemp, bool isRedo)
...
@@ -454,7 +454,7 @@ smgr_internal_unlink(RelFileNode rnode, int which, bool isTemp, bool isRedo)
if
(
!
(
*
(
smgrsw
[
which
].
smgr_unlink
))
(
rnode
,
isRedo
))
if
(
!
(
*
(
smgrsw
[
which
].
smgr_unlink
))
(
rnode
,
isRedo
))
ereport
(
WARNING
,
ereport
(
WARNING
,
(
errcode_for_file_access
(),
(
errcode_for_file_access
(),
errmsg
(
"could not
unlink
relation %u/%u/%u: %m"
,
errmsg
(
"could not
remove
relation %u/%u/%u: %m"
,
rnode
.
spcNode
,
rnode
.
spcNode
,
rnode
.
dbNode
,
rnode
.
dbNode
,
rnode
.
relNode
)));
rnode
.
relNode
)));
...
...
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