Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc742d1d

Browse files
committed
Update pg_upgrade comments for recent configpath fix.
1 parentf6a05fd commitc742d1d

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
#ifndefWIN32
311313
if ((*dirpath)[strlen(*dirpath)-1]=='/')

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp