diff options
author | Bruce Momjian <bruce@momjian.us> | 2012-07-06 09:39:22 -0400 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2012-07-06 09:39:22 -0400 |
commit | c742d1dbe759f4c1e3304e5fbca88e061f64978f (patch) | |
tree | 56fe616eaf0c3f7b0184f6e0e20a6d30bac1e4a8 | |
parent | f6a05fd973a102f7e66c491d3f854864b8d24844 (diff) | |
download | postgresql-c742d1dbe759f4c1e3304e5fbca88e061f64978f.tar.gz postgresql-c742d1dbe759f4c1e3304e5fbca88e061f64978f.zip |
Update pg_upgrade comments for recent configpath fix.
-rw-r--r-- | contrib/pg_upgrade/option.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/pg_upgrade/option.c b/contrib/pg_upgrade/option.c index 960fcdace72..94bce505cb6 100644 --- a/contrib/pg_upgrade/option.c +++ b/contrib/pg_upgrade/option.c @@ -276,6 +276,7 @@ or\n"), old_cluster.port, new_cluster.port, os_info.user); * * Checks a directory option. * dirpath - the directory name supplied on the command line + * configpath - optional configuration directory * envVarName - the name of an environment variable to get if dirpath is NULL * cmdLineOption - the command line option corresponds to this directory (-o, -O, -n, -N) * description - a description of this directory option @@ -305,7 +306,8 @@ check_required_directory(char **dirpath, char **configpath, } /* - * Trim off any trailing path separators + * Trim off any trailing path separators because we construct paths + * by appending to this path. */ #ifndef WIN32 if ((*dirpath)[strlen(*dirpath) - 1] == '/') |