aboutsummaryrefslogtreecommitdiff
path: root/contrib/pg_upgrade/controldata.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2011-07-12 07:13:51 +0300
committerPeter Eisentraut <peter_e@gmx.net>2011-07-12 07:13:51 +0300
commit912bc4f038b3daaea4477c4b4e79fbd8c15e67a0 (patch)
tree3abbc8e1ae427b65afc1566f63b31d88c41826d2 /contrib/pg_upgrade/controldata.c
parentafc9635c600ace716294a12d78abd37f65abd0ea (diff)
downloadpostgresql-912bc4f038b3daaea4477c4b4e79fbd8c15e67a0.tar.gz
postgresql-912bc4f038b3daaea4477c4b4e79fbd8c15e67a0.zip
Make pg_upgrade output more consistent with project style
Add errno-based output to error messages where appropriate, reformat blocks to about 72 characters per line, use spaces instead of tabs for indentation, and other style adjustments.
Diffstat (limited to 'contrib/pg_upgrade/controldata.c')
-rw-r--r--contrib/pg_upgrade/controldata.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/pg_upgrade/controldata.c b/contrib/pg_upgrade/controldata.c
index 8e0db7750ff..1c64f39aa30 100644
--- a/contrib/pg_upgrade/controldata.c
+++ b/contrib/pg_upgrade/controldata.c
@@ -451,7 +451,7 @@ get_control_data(ClusterInfo *cluster, bool live_check)
pg_log(PG_REPORT, " float8 argument passing method\n");
pg_log(PG_FATAL,
- "Unable to continue without required control information, terminating\n");
+ "Cannot continue without required control information, terminating\n");
}
}
@@ -506,9 +506,9 @@ check_control_data(ControlData *oldctrl,
* This is a common 8.3 -> 8.4 upgrade problem, so we are more verbose
*/
pg_log(PG_FATAL,
- "You will need to rebuild the new server with configure\n"
- "--disable-integer-datetimes or get server binaries built\n"
- "with those options.\n");
+ "You will need to rebuild the new server with configure option\n"
+ "--disable-integer-datetimes or get server binaries built with those\n"
+ "options.\n");
}
}