PGLOADER(1)

πŸ’– pgloader β€” the manual, but make it cute

okay bestie, welcome to PGLOADER(1), filed under User Commands. yes this is the actual manual page, no I did not skip the boring parts, we are doing all of it together. grab a lil drink πŸ“


🌸 NAME 🌸

pgloader β€” extract, transform and load data into PostgreSQL. it's giving pipeline royalty πŸ‘‘


✨ DESCRIPTION ✨

so like, here's the vibe. you run it one of two ways:

pgloader [ option ... ] command-file ...
pgloader [ option ... ] SOURCE TARGET

either you hand it some command-files, or you give it a SOURCE and a TARGET and let it cook. that's the whole energy. 🫢


πŸŽ€ the flags, bestie (every single one)

every option below is listed with its type (boolean or string), fr fr, no skips:

  • --help, -h β€” boolean. shows usage and dips. iconic.
  • --version, -V β€” boolean. displays the pgloader version and exits. one job, does it πŸ’…
  • --quiet, -q β€” boolean. be quiet 🀫
  • --verbose, -v β€” boolean. be verbose πŸ—£οΈ
  • --debug, -d β€” boolean. display debug level information. the receipts, all of them.
  • --client-min-messages β€” string. filter the logs you see at the console (default: "warning").
  • --log-min-messages β€” string. filter the logs that go in the logfile (default: "notice").
  • --summary, -S β€” string. filename where to copy the summary πŸ“
  • --root-dir, -D β€” string. output root directory. (default: #P"/tmp/pgloader/")
  • --upgrade-config, -U β€” boolean. output the command(s) corresponding to .conf file for v2.x. glow-up service ✨
  • --list-encodings, -E β€” boolean. list pgloader's known encodings and exit.
  • --logfile, -L β€” string. filename where to send the logs.
  • --load-lisp-file, -l β€” string. read user code from files πŸ‘€
  • --dry-run β€” boolean. only check database connections, don't load anything. a little vibe check, no commitment πŸ™ˆ
  • --on-error-stop β€” boolean. refrain from handling errors properly 🫣 yes that's literally what it says, bestie.
  • --no-ssl-cert-verification β€” boolean. instruct OpenSSL to bypass verifying certificates.
⚠️ okay serious face for one sec: that last one tells OpenSSL to skip verifying certificates. that's a real security thing, not a cute little toggle. be careful with it πŸ’€
  • --context, -C β€” string. command context variables.
  • --with β€” string. load options.
  • --set β€” string. PostgreSQL options.
  • --field β€” string. source file fields specification.
  • --cast β€” string. specific cast rules.
  • --type β€” string. force input source type.
  • --encoding β€” string. source expected encoding.
  • --before β€” string. SQL script to run before loading the data.
  • --after β€” string. SQL script to run after loading the data.
  • --self-upgrade β€” string. path to pgloader newer sources.
  • --regress β€” boolean. drive regression testing πŸ§ͺ

and that's the whole page, start to finish, nothing left out. main character tool behavior honestly πŸ‘‘

this was pgloader 3.6.10, October 2024, and the manual page is PGLOADER(1). mwah, go load some data bestie πŸ’–πŸŒˆπŸŽ€

πŸ“¦ where this page comes from