diff --git a/gpMgmt/bin/gppylib/commands/gp.py b/gpMgmt/bin/gppylib/commands/gp.py index 4d009f7035d219ab9de05d4c26359ebde2025750..4670cf25b366f269be744bcdbc9528c0c9401ed1 100644 --- a/gpMgmt/bin/gppylib/commands/gp.py +++ b/gpMgmt/bin/gppylib/commands/gp.py @@ -1385,7 +1385,7 @@ def start_standbymaster(host, datadir, port, dbid, ncontents, era=None, return False # Wait for the standby to start recovery. Ideally this means the - # standby connection is recoginized by the primary, but locally this + # standby connection is recognized by the primary, but locally in this # function it is better to work with only standby. If recovery has # started, this means now postmaster is responsive to signals, which # allows shutdown etc. If we exit earlier, there is a big chance @@ -1424,7 +1424,7 @@ def get_pid_from_remotehost(host, datadir): def is_pid_postmaster(datadir, pid, remoteHost=None): """ - This function returns true on any uncertancy: if it cannot execute pgrep, pwdx or just connect to the standby host + This function returns true on any uncertainty: if it cannot execute pgrep, pwdx or just connect to the standby host it will return true """ def validate_command (commandName, datadir, ctxt, remoteHost): diff --git a/gpMgmt/bin/gppylib/gphostcache.py b/gpMgmt/bin/gppylib/gphostcache.py index 6a84be7b041578ed4926d4389a3169f81f57b5e0..f2f83208343c83869283ac0aadce04d842f2827a 100644 --- a/gpMgmt/bin/gppylib/gphostcache.py +++ b/gpMgmt/bin/gppylib/gphostcache.py @@ -169,7 +169,7 @@ class GpHostCache: # Go through the gparray and build list of interface and hostname that # will be used to build the GpInterfaceToHostNameCache # - # As Greeenplum 4.0 we have both interface and hostname information in + # As Greenplum 4.0 we have both interface and hostname information in # the catalog, so the gparray should be able to supply all of the # information. # diff --git a/src/backend/cdb/partitionselection.c b/src/backend/cdb/partitionselection.c index cfe6f0225ed8adfbfde4baa7057d12e66f366ea3..13790eeeb05eb42db715b399a330051744ca1ea1 100644 --- a/src/backend/cdb/partitionselection.c +++ b/src/backend/cdb/partitionselection.c @@ -711,7 +711,7 @@ static_part_selection(PartitionSelector *ps) * * This function, and change_varattnos_of_a_varno below, used to be in * tablecmds.c, but were removed in upstream commit 188a0a00. But we still need - * this for dynamic partition selection in GDPB, so copied them here. + * this for dynamic partition selection in GPDB, so copied them here. */ AttrNumber * varattnos_map(TupleDesc old, TupleDesc new)