Skip to content

Commit 7cef70f

Browse files
committed
Fix mistypings
1 parent 912d0ef commit 7cef70f

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

doc/src/sgml/config.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ include_dir 'conf.d'
831831
With <literal>random</literal> policy postmaster randomly choose proxy for new session.
832832
</para>
833833
<para>
834-
With <literal>load-balancing</literal> policy postmaster choose proxy with lowest load average.
834+
With <literal>load-balancing</literal> policy postmaster chooses proxy with lowest load average.
835835
Load average of proxy is estimated by number of clients connection assigned to this proxy with extra weight for SSL connections.
836836
</para>
837837
</listitem>

src/backend/port/send_sock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Send socket descriptor to another process
55
*
66
* Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
7-
* Portions Copyright (c) 1994, Regents of the University of California
7+
* Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group
88
*
99
* src/backend/port/send_sock.c
1010
*

src/backend/postmaster/proxy.c

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
/*-------------------------------------------------------------------------
2+
*
3+
* proxy.c
4+
* This process implements built-in connection pooler. It acts as proxy between clients and pooler backends.
5+
*
6+
* Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group
7+
* Portions Copyright (c) 1994, Regents of the University of California
8+
*
9+
*
10+
* IDENTIFICATION
11+
* src/backend/postmaster/postmaster.c
12+
*-------------------------------------------------------------------------
13+
*/
14+
115
#include <unistd.h>
216
#include <errno.h>
317

@@ -354,7 +368,7 @@ client_connect(Channel* chan, int startup_packet_size)
354368
else
355369
{
356370
/* Assume that all clients are using the same set of GUCs.
357-
* Use then for launching pooler worker backends and report error
371+
* Use them for launching pooler worker backends and report error
358372
* if GUCs in startup packets are different.
359373
*/
360374
if (chan->pool->n_launched_backends == chan->pool->n_dedicated_backends)

0 commit comments

Comments
 (0)