aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_upgrade/pg_upgrade.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/pg_upgrade/pg_upgrade.h')
-rw-r--r--src/bin/pg_upgrade/pg_upgrade.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/pg_upgrade/pg_upgrade.h b/src/bin/pg_upgrade/pg_upgrade.h
index fbe69cb577e..67f874b4f1e 100644
--- a/src/bin/pg_upgrade/pg_upgrade.h
+++ b/src/bin/pg_upgrade/pg_upgrade.h
@@ -360,7 +360,7 @@ void generate_old_dump(void);
#define EXEC_PSQL_ARGS "--echo-queries --set ON_ERROR_STOP=on --no-psqlrc --dbname=template1"
bool exec_prog(const char *log_file, const char *opt_log_file,
- bool throw_error, const char *fmt,...) pg_attribute_printf(4, 5);
+ bool report_error, bool exit_on_error, const char *fmt,...) pg_attribute_printf(5, 6);
void verify_directories(void);
bool pid_lock_file_exists(const char *datadir);
@@ -416,8 +416,8 @@ PGresult *executeQueryOrDie(PGconn *conn, const char *fmt,...) pg_attribute_pr
char *cluster_conn_opts(ClusterInfo *cluster);
-bool start_postmaster(ClusterInfo *cluster, bool throw_error);
-void stop_postmaster(bool fast);
+bool start_postmaster(ClusterInfo *cluster, bool report_and_exit_on_error);
+void stop_postmaster(bool in_atexit);
uint32 get_major_server_version(ClusterInfo *cluster);
void check_pghost_envvar(void);