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

Commit46c7dba

Browse files
committed
[Issue#246] correctly exclude nested directories such as 'pgsql_tmp'
1 parent28dfccd commit46c7dba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/dir.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -613,8 +613,8 @@ dir_check_file(pgFile *file, bool backup_logs)
613613
*/
614614
for (i=0;pgdata_exclude_dir[i];i++)
615615
{
616-
/*relative path exclude */
617-
if (strcmp(file->rel_path,pgdata_exclude_dir[i])==0)
616+
/*exclude by dirname */
617+
if (strcmp(file->name,pgdata_exclude_dir[i])==0)
618618
{
619619
elog(VERBOSE,"Excluding directory content: %s",file->rel_path);
620620
returnCHECK_EXCLUDE_FALSE;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp