[pgpool-hackers: 1682] Question about new PGPOOL SET command

Tatsuo Ishii ishii at postgresql.org
Thu Jul 7 17:48:16 JST 2016


Usama,

In your implementation of new PGPOOL SET command in 3.6, config change
context is defined as enum:

typedef enum
{
	CFGCXT_BOOT,
	CFGCXT_INIT,
	CFGCXT_RELOAD,
	CFGCXT_PCP,
	CFGCXT_SESSION
} ConfigContext;

and each configuration parameter is assinged to one of them. Does the
order of enum value has any meaning ever? I mean, if certain variable
context is assiged to CFGCXT_RELOAD, then the variable can be changed
in CFGCXT_BOOT and CFGCXT_INIT context, for example.

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp



More information about the pgpool-hackers mailing list