Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 792d6ed

Browse files
committed
Clean up some misleading references to %p being a full path, per Simon.
1 parent 1456c5b commit 792d6ed

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

doc/src/sgml/backup.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.93 2006/11/04 18:20:27 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.94 2006/11/10 22:32:20 tgl Exp $ -->
22

33
<chapter id="backup">
44
<title>Backup and Restore</title>
@@ -599,7 +599,7 @@ archive_command = 'test ! -f .../%f &amp;&amp; cp %p .../%f'
599599
In writing your archive command, you should assume that the file names to
600600
be archived may be up to 64 characters long and may contain any
601601
combination of ASCII letters, digits, and dots. It is not necessary to
602-
remember the original full path (<literal>%p</>) but it is necessary to
602+
remember the original relative path (<literal>%p</>) but it is necessary to
603603
remember the file name (<literal>%f</>).
604604
</para>
605605

src/backend/access/transam/xlog.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.254 2006/11/08 20:12:04 tgl Exp $
10+
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.255 2006/11/10 22:32:20 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -2434,7 +2434,7 @@ RestoreArchivedFile(char *path, const char *xlogfname,
24342434
switch (sp[1])
24352435
{
24362436
case 'p':
2437-
/* %p: full path of target file */
2437+
/* %p: relative path of target file */
24382438
sp++;
24392439
StrNCpy(dp, xlogpath, endp - dp);
24402440
make_native_path(dp);

src/backend/postmaster/pgarch.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*
2020
*
2121
* IDENTIFICATION
22-
* $PostgreSQL: pgsql/src/backend/postmaster/pgarch.c,v 1.25 2006/08/07 17:41:42 tgl Exp $
22+
* $PostgreSQL: pgsql/src/backend/postmaster/pgarch.c,v 1.26 2006/11/10 22:32:20 tgl Exp $
2323
*
2424
*-------------------------------------------------------------------------
2525
*/
@@ -417,7 +417,7 @@ pgarch_archiveXlog(char *xlog)
417417
switch (sp[1])
418418
{
419419
case 'p':
420-
/* %p: full path of source file */
420+
/* %p: relative path of source file */
421421
sp++;
422422
StrNCpy(dp, pathname, endp - dp);
423423
make_native_path(dp);

0 commit comments

Comments
 (0)