projects
/
users
/
c2main
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29add0d
)
In pg_upgrade, add third meaningless parameter to open().
author
Bruce Momjian
<
[email protected]
>
Thu, 15 Nov 2012 00:01:29 +0000
(19:01 -0500)
committer
Bruce Momjian
<
[email protected]
>
Thu, 15 Nov 2012 00:01:29 +0000
(19:01 -0500)
contrib/pg_upgrade/relfilenode.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pg_upgrade/relfilenode.c
b/contrib/pg_upgrade/relfilenode.c
index d763ba7d2babd78e5af6a95c761db68c95985261..8f7d569491b1d6c0d76a8f15a6d0b259e86acc46 100644
(file)
--- a/
contrib/pg_upgrade/relfilenode.c
+++ b/
contrib/pg_upgrade/relfilenode.c
@@
-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)