mirror of
https://github.com/postgres/postgres.git
synced 2026-04-20 22:00:13 -04:00
In pg_upgrade, add third meaningless parameter to open().
This commit is contained in:
parent
29add0de49
commit
546d65d55f
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ transfer_relfile(pageCnvCtx *pageConverter, FileNameMap *map,
|
|||
if (type_suffix[0] != '\0' || segno != 0)
|
||||
{
|
||||
/* Did file open fail? */
|
||||
if ((fd = open(old_file, O_RDONLY)) == -1)
|
||||
if ((fd = open(old_file, O_RDONLY, 0)) == -1)
|
||||
{
|
||||
/* File does not exist? That's OK, just return */
|
||||
if (errno == ENOENT)
|
||||
|
|
|
|||
Loading…
Reference in a new issue