File tree Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -831,7 +831,7 @@ include_dir 'conf.d'
831
831
With <literal>random</literal> policy postmaster randomly choose proxy for new session.
832
832
</para>
833
833
<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.
835
835
Load average of proxy is estimated by number of clients connection assigned to this proxy with extra weight for SSL connections.
836
836
</para>
837
837
</listitem>
Original file line number Diff line number Diff line change 4
4
* Send socket descriptor to another process
5
5
*
6
6
* 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
8
8
*
9
9
* src/backend/port/send_sock.c
10
10
*
Original file line number Diff line number Diff line change
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
+
1
15
#include <unistd.h>
2
16
#include <errno.h>
3
17
@@ -354,7 +368,7 @@ client_connect(Channel* chan, int startup_packet_size)
354
368
else
355
369
{
356
370
/* 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
358
372
* if GUCs in startup packets are different.
359
373
*/
360
374
if (chan -> pool -> n_launched_backends == chan -> pool -> n_dedicated_backends )
You can’t perform that action at this time.
0 commit comments