mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
Fix various typos
This fixes many spelling mistakes in comments, but a few references to invalid parameter names, function names and option names too in comments and also some in string constants Also, fix an #undef that was undefining the incorrect definition Author: Alexander Lakhin Reviewed-by: Justin Pryzby Discussion: https://postgr.es/m/d5f68d19-c0fc-91a9-118d-7c6a5a3f5fad@gmail.com
This commit is contained in:
@ -624,7 +624,7 @@ pqsecure_open_gss(PGconn *conn)
|
||||
|
||||
if (conn->gssdeleg && pg_strcasecmp(conn->gssdeleg, "enable") == 0)
|
||||
{
|
||||
/* Acquire credentials if possbile */
|
||||
/* Acquire credentials if possible */
|
||||
if (conn->gcred == GSS_C_NO_CREDENTIAL)
|
||||
(void) pg_GSS_have_cred_cache(&conn->gcred);
|
||||
|
||||
|
@ -14,17 +14,17 @@ if ($ENV{PG_TEST_EXTRA} !~ /\bload_balance\b/)
|
||||
|
||||
# This tests loadbalancing based on a DNS entry that contains multiple records
|
||||
# for different IPs. Since setting up a DNS server is more effort than we
|
||||
# consider reasonable to run this test, this situation is instead immitated by
|
||||
# consider reasonable to run this test, this situation is instead imitated by
|
||||
# using a hosts file where a single hostname maps to multiple different IP
|
||||
# addresses. This test requires the adminstrator to add the following lines to
|
||||
# the hosts file (if we detect that this hasn't happend we skip the test):
|
||||
# addresses. This test requires the administrator to add the following lines to
|
||||
# the hosts file (if we detect that this hasn't happened we skip the test):
|
||||
#
|
||||
# 127.0.0.1 pg-loadbalancetest
|
||||
# 127.0.0.2 pg-loadbalancetest
|
||||
# 127.0.0.3 pg-loadbalancetest
|
||||
#
|
||||
# Windows or Linux are required to run this test because these OSes allow
|
||||
# binding to 127.0.0.2 and 127.0.0.3 addresess by default, but other OSes
|
||||
# binding to 127.0.0.2 and 127.0.0.3 addresses by default, but other OSes
|
||||
# don't. We need to bind to different IP addresses, so that we can use these
|
||||
# different IP addresses in the hosts file.
|
||||
#
|
||||
|
Reference in New Issue
Block a user