mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-24 18:55:04 +08:00
Properly define pg_upgrade global variable, per bug report from Chris
Ruprecht on Mac (64 bit).
This commit is contained in:
parent
6bbaa3148d
commit
8141523e35
@ -237,7 +237,7 @@ typedef struct
|
||||
/*
|
||||
* Global variables
|
||||
*/
|
||||
char scandir_file_pattern[MAXPGPATH];
|
||||
extern char scandir_file_pattern[];
|
||||
|
||||
|
||||
/* check.c */
|
||||
|
@ -17,6 +17,9 @@ static void transfer_relfile(migratorContext *ctx, pageCnvCtx *pageConverter,
|
||||
const char *oldnspname, const char *oldrelname,
|
||||
const char *newnspname, const char *newrelname);
|
||||
|
||||
/* used by scandir(), must be global */
|
||||
char scandir_file_pattern[MAXPGPATH];
|
||||
|
||||
/*
|
||||
* transfer_all_new_dbs()
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user