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

Commitb55743a

Browse files
committed
In pg_upgrade, report errno string if file existence check returns an
error and errno != ENOENT.
1 parent1f7cb5c commitb55743a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎contrib/pg_upgrade/relfilenode.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,9 @@ transfer_relfile(pageCnvCtx *pageConverter, FileNameMap *map,
205205
if (errno==ENOENT)
206206
return;
207207
else
208-
pg_log(PG_FATAL,"non-existant file error while copying relation \"%s.%s\" (\"%s\" to \"%s\")\n",
209-
map->nspname,map->relname,old_file,new_file);
208+
pg_log(PG_FATAL,"error while checking for file existance \"%s.%s\" (\"%s\" to \"%s\"): %s\n",
209+
map->nspname,map->relname,old_file,new_file,
210+
getErrorText(errno));
210211
}
211212
close(fd);
212213
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp