APGDIFF(1)

πŸ“¦
version 2.7.0 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

πŸŽ€ apgdiff πŸŽ€

okay so apgdiff is another PostgreSQL diff tool πŸ’– and it compares two dumps so you can see what changed between them. bestie, this page is literally everything you need to know πŸ’…

✨ NAME ✨

apgdiff - Another PostgreSQL Diff Tool πŸ¦‹

✨ SYNOPSIS ✨

apgdiff [options] <old_dump> <new_dump>

so you toss in your options, then the old dump, then the new dump. easy peasy 🌸

✨ OPTIONS ✨

  • --version β€” πŸ’– shows you which apgdiff version you're running
  • --add-defaults β€” adds DEFAULT ... when a new column has a NOT NULL constraint but no default value. the default gets dropped again later 🧚
  • --add-transaction β€” wraps your generated diff file with START TRANSACTION and COMMIT TRANSACTION ✨
  • --ignore-function-whitespace β€” ignores extra spaces and new lines when comparing function bodies πŸ™ˆ
🚨 WARNING: this can make functions look the same when they actually aren't, so only use this one if you really know what you're doing, bestie 😭
  • --ignore-start-with β€” ignores START WITH changes on SEQUENCEs. by default these changes are not ignored πŸ“
  • --ignore-schema-creation β€” you don't need a CREATE SCHEMA command on the input schemas anymore 🌈
  • --in-charset-name <charset> β€” the charset used for reading input files. it has to be a standard charset name that Java supports, and the default is UTF-8 πŸ’œ
  • --out-charset-name <charset> β€” the charset used for writing output. same deal: standard Java charset name, and the default is UTF-8 🫢
  • --output-ignored-statements β€” spills the tea on which DDL statements apgdiff is ignoring right now. it won't output any SELECT, INSERT, UPDATE and/or DELETE statements though πŸ‘‘
  • --ignore-slony-triggers β€” when parsing SQL statements, ignores the Slony triggers named _slony_logtrigger and _slony_denyaccess πŸ¦‹
  • --list-charsets β€” lists every charset that's supported ⭐

that's the whole vibe, bestie πŸŽ€ apgdiff 2.7.0-1, January 2022, APGDIFF(1) πŸ’–πŸ§š

πŸ“¦ where this page comes from