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

Commit8141523

Browse files
committed
Properly define pg_upgrade global variable, per bug report from Chris
Ruprecht on Mac (64 bit).
1 parent6bbaa31 commit8141523

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

‎contrib/pg_upgrade/pg_upgrade.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ typedef struct
237237
/*
238238
* Global variables
239239
*/
240-
charscandir_file_pattern[MAXPGPATH];
240+
externcharscandir_file_pattern[];
241241

242242

243243
/* check.c */

‎contrib/pg_upgrade/relfilenode.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ static void transfer_relfile(migratorContext *ctx, pageCnvCtx *pageConverter,
1717
constchar*oldnspname,constchar*oldrelname,
1818
constchar*newnspname,constchar*newrelname);
1919

20+
/* used by scandir(), must be global */
21+
charscandir_file_pattern[MAXPGPATH];
22+
2023
/*
2124
* transfer_all_new_dbs()
2225
*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp