Skip to content

Commit b7a8231

Browse files
committed
Fix typo in fd.c
The frontend version of walkdir() is defined in file_utils.c, and not initdb.c. Author: Sehrope Sarkuni Discussion: https://postgr.es/m/CAH7T-artawnBt4=KODNCD8Mt2ZX4CCjJT8c=_=950xjutcRZ4Q@mail.gmail.com
1 parent 3071763 commit b7a8231

File tree

1 file changed

+2
-1
lines changed
  • src/backend/storage/file

1 file changed

+2
-1
lines changed

src/backend/storage/file/fd.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3208,7 +3208,8 @@ SyncDataDirectory(void)
32083208
*
32093209
* Errors are reported at level elevel, which might be ERROR or less.
32103210
*
3211-
* See also walkdir in initdb.c, which is a frontend version of this logic.
3211+
* See also walkdir in file_utils.c, which is a frontend version of this
3212+
* logic.
32123213
*/
32133214
static void
32143215
walkdir(const char *path,

0 commit comments

Comments
 (0)