Skip to content

Commit c742d1d

Browse files
committed
Update pg_upgrade comments for recent configpath fix.
1 parent f6a05fd commit c742d1d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

contrib/pg_upgrade/option.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ or\n"), old_cluster.port, new_cluster.port, os_info.user);
276276
*
277277
* Checks a directory option.
278278
* dirpath - the directory name supplied on the command line
279+
* configpath - optional configuration directory
279280
* envVarName - the name of an environment variable to get if dirpath is NULL
280281
* cmdLineOption - the command line option corresponds to this directory (-o, -O, -n, -N)
281282
* description - a description of this directory option
@@ -305,7 +306,8 @@ check_required_directory(char **dirpath, char **configpath,
305306
}
306307

307308
/*
308-
* Trim off any trailing path separators
309+
* Trim off any trailing path separators because we construct paths
310+
* by appending to this path.
309311
*/
310312
#ifndef WIN32
311313
if ((*dirpath)[strlen(*dirpath) - 1] == '/')

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy