From 18b133c5442c34d3c68f6fac978813f3c4fc703b Mon Sep 17 00:00:00 2001 From: "itagaki.takahiro" Date: Tue, 12 Jan 2010 09:11:43 +0000 Subject: [PATCH] add/fix comments. git-svn-id: http://pg-rman.googlecode.com/svn/trunk@29 182aca00-e38e-11de-a668-6fd11605f5ce --- backup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backup.c b/backup.c index ac2e01ab..12903162 100644 --- a/backup.c +++ b/backup.c @@ -271,7 +271,7 @@ do_backup_arclog(parray *backup_list) else fname = file->path; - /* to backup backup hisotry files, compare tli/lsn portion only */ + /* to backup backup history files, compare tli/lsn portion only */ if (strncmp(fname, last_wal, 24) > 0) { parray_remove(files, i); @@ -657,6 +657,7 @@ pg_start_backup(const char *label, bool smooth, pgBackup *backup) server_version = get_server_version(); if (server_version >= 80400) { + /* 2nd argument is 'fast'*/ params[1] = smooth ? "false" : "true"; res = execute("SELECT * from pg_xlogfile_name_offset(pg_start_backup($1, $2))", 2, params); }