<div dir="ltr"><div>Hi,<br><br></div><div>I am new to pgpool-ii and am setting it up. My env:</div><div>- postgresql 16 on ubuntu 22.04 on both primary and standby servers</div><div>- postgresql streaming replication is use <br></div><div>- install pgpool 4.5.4 on Primary server with streaming replication mode</div><div><br></div><div>I have followed online documentation and have some general questions.<br><br></div><div>1) Since pgpool accepts client connection and passes the same credential supplied by client to postgresql server, do we have the same entries for pgpool_hba.conf as in pg_hba.conf?<br><br></div><div>2) The documentation recommends a separate OS user to be used to run pgpool. Do people do that or just use root? I created a 'pgpool' linux user and used it, but encountered various issues with fileĀ access permissions.<br><br></div><div>3) With the user we specify in the pcp.conf file, is it an OS user or postgresql server user? Or is it neither? (The doco does not make this clear.)</div><div><br>4) When is the user specified in the pcp.conf file referred to? Is this when we issue PCP commands (e.g. pcp_attach_node). How about $HOME/.pcppass file? If .pcppass
is used then the pcp.conf file would not be referred to?<br> <br>(I tried pcp_attach_node without supplying a password and got invalid username/pwd. I had to use -W and manually entered the pwd).<br><br></div><div>Many thanks<br><br></div></div>