File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 44 * pgpool: a language independent connection pool server for PostgreSQL
55 * written by Tatsuo Ishii
66 *
7- * Copyright (c) 2003-2023 PgPool Global Development Group
7+ * Copyright (c) 2003-2024 PgPool Global Development Group
88 *
99 * Permission to use, copy, modify, and distribute this software and
1010 * its documentation for any purpose and without fee is hereby
@@ -266,7 +266,12 @@ typedef struct
266266
267267typedef struct
268268{
269- ConnectionInfo * info ; /* connection info on shmem */
269+ /*
270+ * info is initialized by pool_init_cp() at the startup of pgpool child
271+ * process. pool_coninfo(child id, pool index, backend id = 0) is used to
272+ * refer to the appropriate pointer on shared memory.
273+ */
274+ ConnectionInfo * info ;
270275 POOL_CONNECTION_POOL_SLOT * slots [MAX_NUM_BACKENDS ];
271276} POOL_CONNECTION_POOL ;
272277
You can’t perform that action at this time.
0 commit comments