diff options
author | Robert Haas <rhaas@postgresql.org> | 2016-01-14 23:12:05 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2016-01-14 23:16:40 -0500 |
commit | 23c2dd03d5db2f4a20dcd09bd6c49e293e3c8f03 (patch) | |
tree | f742b401b8a8a8d4bae14585335bbf1314362807 /src | |
parent | a923af382c5678f3dfb591aacb6b90bf4e5ed7a9 (diff) | |
download | postgresql-23c2dd03d5db2f4a20dcd09bd6c49e293e3c8f03.tar.gz postgresql-23c2dd03d5db2f4a20dcd09bd6c49e293e3c8f03.zip |
Fix spelling mistakes.
Same patch submitted independently by David Rowley and Peter Geoghegan.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/executor/nodeGather.c | 2 | ||||
-rw-r--r-- | src/bin/pg_upgrade/controldata.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/executor/nodeGather.c b/src/backend/executor/nodeGather.c index 046f156ff54..16c981b48b2 100644 --- a/src/backend/executor/nodeGather.c +++ b/src/backend/executor/nodeGather.c @@ -138,7 +138,7 @@ ExecGather(GatherState *node) /* * Initialize the parallel context and workers on first execution. We do * this on first execution rather than during node initialization, as it - * needs to allocate large dynamic segement, so it is better to do if it + * needs to allocate large dynamic segment, so it is better to do if it * is really needed. */ if (!node->initialized) diff --git a/src/bin/pg_upgrade/controldata.c b/src/bin/pg_upgrade/controldata.c index 1f7b65eb662..2def7290a24 100644 --- a/src/bin/pg_upgrade/controldata.c +++ b/src/bin/pg_upgrade/controldata.c @@ -539,7 +539,7 @@ check_control_data(ControlData *oldctrl, pg_fatal("old and new pg_controldata block sizes are invalid or do not match\n"); if (oldctrl->largesz == 0 || oldctrl->largesz != newctrl->largesz) - pg_fatal("old and new pg_controldata maximum relation segement sizes are invalid or do not match\n"); + pg_fatal("old and new pg_controldata maximum relation segment sizes are invalid or do not match\n"); if (oldctrl->walsz == 0 || oldctrl->walsz != newctrl->walsz) pg_fatal("old and new pg_controldata WAL block sizes are invalid or do not match\n"); |