/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/exec.c | 0 | 0 |
diff --git a/contrib/pg_upgrade/exec.c b/contrib/pg_upgrade/exec.c
new file mode 100644
index 6f1c6ef..ec2f944
*** a/contrib/pg_upgrade/exec.c
--- b/contrib/pg_upgrade/exec.c
*************** void
*** 94,100 ****
verify_directories(void)
{
! if (access(".", R_OK | W_OK | X_OK) != 0)
pg_log(PG_FATAL,
"You must have read and write access in the current directory.\n");
--- 94,109 ----
verify_directories(void)
{
! if (access(".", R_OK | W_OK
! #ifndef WIN32
! /*
! * Directory execute permission on NTFS means "can execute scripts",
! * which we don't care about, so skip the check. Also, X_OK is not
! * defined in the API.
! */
! | X_OK
! #endif
! ) != 0)
pg_log(PG_FATAL,
"You must have read and write access in the current directory.\n");