提交 7f753a79 编写于 作者: D Daniel Gustafsson

Fix typos in comments

A collection typo fixes that were lying around.

[ci skip]
上级 ed105b12
......@@ -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):
......
......@@ -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.
#
......
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册