1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

pg_upgrade: pass username to analyze script

If -U (user) is specified, pass the username into the created analyze
script.
Per request from Ray Stell
This commit is contained in:
Bruce Momjian
2013-06-28 19:11:51 -04:00
parent e029275cde
commit f85136106d
3 changed files with 20 additions and 4 deletions

View File

@ -291,6 +291,7 @@ typedef struct
const char *progname; /* complete pathname for this program */
char *exec_path; /* full path to my executable */
char *user; /* username for clusters */
bool user_specified; /* user specified on command-line */
char **old_tablespaces; /* tablespaces */
int num_old_tablespaces;
char **libraries; /* loadable libraries */