1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-31 22:04:40 +03:00

Furter pg_upgrade optimizations to reduce function call argument count.

This commit is contained in:
Bruce Momjian
2011-01-01 12:28:48 -05:00
parent 6e6bee987f
commit 67c9e4442f
5 changed files with 20 additions and 24 deletions

View File

@ -179,7 +179,7 @@ typedef struct
char *bindir; /* pathname for cluster's executable directory */
unsigned short port; /* port number where postmaster is waiting */
uint32 major_version; /* PG_VERSION of cluster */
char *major_version_str; /* string PG_VERSION of cluster */
char major_version_str[64]; /* string PG_VERSION of cluster */
Oid pg_database_oid; /* OID of pg_database relation */
char *libpath; /* pathname for cluster's pkglibdir */
char *tablespace_suffix; /* directory specification */
@ -357,7 +357,7 @@ PGresult *executeQueryOrDie(PGconn *conn, const char *fmt,...);
void start_postmaster(ClusterInfo *cluster, bool quiet);
void stop_postmaster(bool fast, bool quiet);
uint32 get_major_server_version(ClusterInfo *cluster, char **verstr);
uint32 get_major_server_version(ClusterInfo *cluster);
void check_for_libpq_envvars(void);