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 πŸ’–

  • -h hostname, --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.
  • -p port, --port=port β€” the PCP port number (default: "9898"). bc everything needs a door to knock on πŸšͺ✨
  • -U username, --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 .pcppass file, 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 .pcppass file 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