summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2014-01-23 10:56:07 +0100
committerPavel Raiskup <praiskup@redhat.com>2014-01-23 10:56:07 +0100
commit0e8ad70f11c648dfa6f62a9f64dedacbd08b111e (patch)
tree11ff79c2407bc2ae0a55411de221a1d7501f4d77
parent6717487c79798cb1f3edd8b7614cb5f9e6f7d467 (diff)
downloadpostgresql-setup-0e8ad70f11c648dfa6f62a9f64dedacbd08b111e.tar.gz
postgresql-setup-0e8ad70f11c648dfa6f62a9f64dedacbd08b111e.tar.xz
postgresql-setup-0e8ad70f11c648dfa6f62a9f64dedacbd08b111e.zip
postgresql-setup: typos
Version: 9.3.2-7
-rwxr-xr-xpostgresql-setup13
1 files changed, 7 insertions, 6 deletions
diff --git a/postgresql-setup b/postgresql-setup
index b30550a..acf07f7 100755
--- a/postgresql-setup
+++ b/postgresql-setup
@@ -8,16 +8,16 @@ test x"$PGSETUP_DEBUG" != x && set -x
# Note: the specfile inserts the correct value during package build
PGVERSION=xxxx
+# PGMAJORVERSION is the major version, e.g. 9.0
+PGMAJORVERSION=xxxx
+
# PGENGINE is the directory containing the postmaster executable
-# Note: the specfile inserts the correct value during package build
PGENGINE=xxxx
# PREVMAJORVERSION is the previous major version, e.g., 8.4, for upgrades
-# Note: the specfile inserts the correct value during package build
PREVMAJORVERSION=xxxx
# PREVPGENGINE is the directory containing the previous postmaster executable
-# Note: the specfile inserts the correct value during package build
PREVPGENGINE=xxxx
# Absorb configuration settings from the specified systemd service file,
@@ -44,8 +44,9 @@ Available operation mode:
initdb Create a new PostgreSQL database cluster. This is usually the
first action you perform after PostgreSQL server installation.
upgrade Upgrade PostgreSQL database cluster to be usable with new
- server. Use this if upgraded to newer PostgreSQL major version,
- e.g. from 9.1 to 9.2.
+ server. Use this if you upgraded your PostgreSQL server to
+ newer major version (currently from $PREVMAJORVERSION \
+to $PGMAJORVERSION).
Environment:
PGSETUP_INITDB_OPTIONS Options carried by this variable are passed to
@@ -236,7 +237,7 @@ upgrade(){
if [ $script_result -eq 0 ]; then
echo $"OK"
echo
- echo $"The configuration files was replaced by default configuration."
+ echo $"The configuration files were replaced by default configuration."
echo $"The previous configuration and data are stored in folder"
echo $PGDATAOLD.
else