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
792d6edd
Commit
792d6edd
authored
Nov 10, 2006
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up some misleading references to %p being a full path, per Simon.
parent
1456c5b5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
doc/src/sgml/backup.sgml
doc/src/sgml/backup.sgml
+2
-2
src/backend/access/transam/xlog.c
src/backend/access/transam/xlog.c
+2
-2
src/backend/postmaster/pgarch.c
src/backend/postmaster/pgarch.c
+2
-2
No files found.
doc/src/sgml/backup.sgml
View file @
792d6edd
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.9
3 2006/11/04 18:20:27
tgl Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.9
4 2006/11/10 22:32:20
tgl Exp $ -->
<chapter id="backup">
<title>Backup and Restore</title>
...
...
@@ -599,7 +599,7 @@ archive_command = 'test ! -f .../%f && cp %p .../%f'
In writing your archive command, you should assume that the file names to
be archived may be up to 64 characters long and may contain any
combination of ASCII letters, digits, and dots. It is not necessary to
remember the original
full
path (<literal>%p</>) but it is necessary to
remember the original
relative
path (<literal>%p</>) but it is necessary to
remember the file name (<literal>%f</>).
</para>
...
...
src/backend/access/transam/xlog.c
View file @
792d6edd
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.25
4 2006/11/08 20:12:04
tgl Exp $
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.25
5 2006/11/10 22:32:20
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -2434,7 +2434,7 @@ RestoreArchivedFile(char *path, const char *xlogfname,
switch
(
sp
[
1
])
{
case
'p'
:
/* %p:
full
path of target file */
/* %p:
relative
path of target file */
sp
++
;
StrNCpy
(
dp
,
xlogpath
,
endp
-
dp
);
make_native_path
(
dp
);
...
...
src/backend/postmaster/pgarch.c
View file @
792d6edd
...
...
@@ -19,7 +19,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/postmaster/pgarch.c,v 1.2
5 2006/08/07 17:41:42
tgl Exp $
* $PostgreSQL: pgsql/src/backend/postmaster/pgarch.c,v 1.2
6 2006/11/10 22:32:20
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -417,7 +417,7 @@ pgarch_archiveXlog(char *xlog)
switch
(
sp
[
1
])
{
case
'p'
:
/* %p:
full
path of source file */
/* %p:
relative
path of source file */
sp
++
;
StrNCpy
(
dp
,
pathname
,
endp
-
dp
);
make_native_path
(
dp
);
...
...
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