PCP_COMMON_OPTIONS(1)
β¨ PCP_COMMON_OPTIONS β¨
okay bestie, so this is the manual page for pcp_common_options, which lives in the pgpool-II 4.7.2 docs π it's literally the shared-options page for PCP commands β the little bundle of flags every single one of them has in common. no cap.
πΈ NAME πΈ
pcp_common_options β the common options used in PCP commands π
π¦ SYNOPSIS π¦
pcp_command [option...]
β¨ DESCRIPTION β¨
so basically, there's a bunch of arguments that every PCP command shares. like, all of them. the majority of them are about authentication (yk, proving you're you), and the rest are the little quality-of-life ones β verbose mode, debug messages, that kinda thing. π«Ά
π OPTIONS π
-hhostname,--host=hostnameβ the host name of the machine where the server's running, obvi. π but here's the slay detail: if that value starts with a slash (/), it gets used as the directory for the Unix-domain socket instead. iconic behaviour tbh.-pport,--port=portβ the PCP port number (default:"9898"). bc everything needs a door to knock on πͺβ¨-Uusername,--username=usernameβ the user name you use for PCP authentication (default: the OS user name). so if you don't say anything, it just assumes you're... you. main character energy π-w,--no-passwordβ never prompt for a password (it should happen automatically anyway). and lowkey important: if a password isn't available from a.pcppassfile, the connection attempt will fail π. this one is the MVP for batch jobs and scripts where there's literally nobody around to type a password, fr fr.-W,--passwordβ force the password prompt. yes, right now, we're doing this, no skipping π₯-d,--debugβ enable debug messages π-v,--verboseβ enable verbose output π£οΈ-V,--versionβ print the command version, then exit. bye bestie π-?,--helpβ shows the help for the command line arguments, then exits. your lil cheat sheet π
π§ ENVIRONMENT π§
PCPPASSFILEβ specifies the path to the pcp password file. π keep it safe, keep it secret, keep it... in an env var ig.
ngl if you're writing scripts,-w+ a proper.pcppassfile is the duo. but remember β no password file, no connection. that's not a vibe, that's a fact π
okay that's the whole thing, you ate it up π this was the pcp_common_options page from pgpool-II 4.7.2, dated 2023 β go forth and pcp, bestie ππ¦β¨
π¦ where this page comes from
- ubuntu stonking: pgpool2 4.7.2-1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms