]> granicus.if.org Git - postgresql/commitdiff
Fix spelling mistakes.
authorRobert Haas <rhaas@postgresql.org>
Fri, 15 Jan 2016 04:12:05 +0000 (23:12 -0500)
committerRobert Haas <rhaas@postgresql.org>
Fri, 15 Jan 2016 04:16:40 +0000 (23:16 -0500)
Same patch submitted independently by David Rowley and Peter Geoghegan.

src/backend/executor/nodeGather.c
src/bin/pg_upgrade/controldata.c

index 046f156ff54e627b6c4608c4886f3bb40d1f6a8f..16c981b48b277a26b84040c59d736d04df54c205 100644 (file)
@@ -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)
index 1f7b65eb662c8257f31b3857a82cc523fb3dffea..2def7290a24670d9e7a8147e0706e6820d425193 100644 (file)
@@ -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");