Skip to content

Commit 18b133c

Browse files
author
itagaki.takahiro
committed
add/fix comments.
git-svn-id: http://pg-rman.googlecode.com/svn/trunk@29 182aca00-e38e-11de-a668-6fd11605f5ce
1 parent 4df4b16 commit 18b133c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

backup.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ do_backup_arclog(parray *backup_list)
271271
else
272272
fname = file->path;
273273

274-
/* to backup backup hisotry files, compare tli/lsn portion only */
274+
/* to backup backup history files, compare tli/lsn portion only */
275275
if (strncmp(fname, last_wal, 24) > 0)
276276
{
277277
parray_remove(files, i);
@@ -657,6 +657,7 @@ pg_start_backup(const char *label, bool smooth, pgBackup *backup)
657657
server_version = get_server_version();
658658
if (server_version >= 80400)
659659
{
660+
/* 2nd argument is 'fast'*/
660661
params[1] = smooth ? "false" : "true";
661662
res = execute("SELECT * from pg_xlogfile_name_offset(pg_start_backup($1, $2))", 2, params);
662663
}

0 commit comments

Comments
 (0)