/rtmp/pg_upgrade
text/x-diff
Filename: /rtmp/pg_upgrade
Type: text/x-diff
Part: 0
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: unified
| File | + | − |
|---|---|---|
| contrib/pg_upgrade/file.c | 0 | 0 |
diff --git a/contrib/pg_upgrade/file.c b/contrib/pg_upgrade/file.c
new file mode 100644
index f8f7233..0552541
*** a/contrib/pg_upgrade/file.c
--- b/contrib/pg_upgrade/file.c
***************
*** 12,20 ****
#include <fcntl.h>
- static int copy_file(const char *fromfile, const char *tofile, bool force);
! #ifdef WIN32
static int win32_pghardlink(const char *src, const char *dst);
#endif
--- 12,21 ----
#include <fcntl.h>
! #ifndef WIN32
! static int copy_file(const char *fromfile, const char *tofile, bool force);
! #else
static int win32_pghardlink(const char *src, const char *dst);
#endif
*************** linkAndUpdateFile(pageCnvCtx *pageConver
*** 126,131 ****
--- 127,133 ----
}
+ #ifndef WIN32
static int
copy_file(const char *srcfile, const char *dstfile, bool force)
{
*************** copy_file(const char *srcfile, const cha
*** 220,225 ****
--- 222,228 ----
return 1;
}
+ #endif
/*