POSTGRESQL-UPGRADE(1)
π POSTGRESQL-UPGRADE π
okay bestie, so this is the manual page for postgresql-upgrade, and it's giving version 8.12. it lives in the User Commands section, it's a lil' wrapper script, and it's about to make your database glow-up happen. no cap. π¦
β¨ SYNOPSIS β¨
postgresql-upgrade [--upgrade-from=ID] DATADIR
πΈ DESCRIPTION πΈ
so basically, postgresql-upgrade is a wrapper script for pg_upgrade. that's the whole vibe. it comes with pre-configured pg_upgrade options and environment variables already baked in, so you don't have to hand-assemble everything yourself. iconic behaviour honestly. π
π OPTIONS π
--upgrade-idsβ prints the list of available IDs of upgrade scenarios straight to standard output. it's giving "show me the menu" energy. β¨--upgrade-from=IDβ specifies the id of the "old" postgresql stack you're upgrading from. wanna know which IDs you can even use? run--upgrade-idsand find out. the default is'postgresql'. periodt. π
π«Ά Other options:
--helpβ show this help.--versionβ show version of this package.
π ENVIRONMENT π
PGSETUP_INITDB_OPTIONSβ whatever options you tuck inside this variable get passed along to the subsequent call of theinitdbbinary (go peek atman initdb(1)for the deets). and yes, this variable is used during'upgrade'mode too, because the new cluster is actually re-initialized from the old one. so it's doing double duty, main character energy fr fr. πPGSETUP_PGUPGRADE_OPTIONSβ the options in this variable are passed next to the subsequent call ofpg_upgrade. want the full scoop on which options are even possible? that's aman pg_upgrade(1)moment, bestie. π₯
π also, heads up: this thing is Built against PostgreSQL version 18.6. so that's the energy it's bringing to the party.
and that's the whole page, babe β you're officially upgraded (or at least you know how to be). mwah. π
postgresql-upgrade 8.12 β August 2026 πβ¨π¦πΈπ
π¦ where this page comes from
- fedora 43: postgresql-server 18.6-1.fc43 Β· PostgreSQL
- fedora 43: postgresql-server 18.6-1.fc43 Β· PostgreSQL
- fedora 44: postgresql-server 18.6-1.fc44 Β· PostgreSQL
- fedora 44: postgresql-server 18.6-1.fc44 Β· PostgreSQL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms