pg_upgrade
In-place major version upgrade tool using binary-upgrade dumps and relation file transfer (copy, link, clone, swap), with its compatibility checks and bugs. Introduced in PostgreSQL 9.0.
Versions
- PostgreSQL 20 · in-development · improved · moderate · 1 commit · +29 / -64 lines
- PostgreSQL 19 · shipped · improved · moderate · 1 commit · +164 / -70 lines
- PostgreSQL 18 · shipped · improved · minor · 1 commit · +24 / -15 lines
- PostgreSQL 17 · shipped · improved · minor · 2 commits · +8 / -7 lines
- PostgreSQL 16 · worked-on · improved · minor
Threads
- [PATCH] pg_upgrade: add --initdb option to create the new cluster automatically
- BUG #19934: pg_upgrade can't handle "interesting" user-defined system relation
- pg_upgrade doesn't copy ICU rules on template0
- BUG #19908: pg_upgrade --check crashes instance if running in a different PID Namespace then the old cluster
- Teach pg_upgrade to deal with invalid databases
- pg_upgrade fails when FK constraint with same name exists on partitioned table and its partition
- [PG19] pg_upgrade --check passes, then the upgrade fails
- pg_upgrade --check: catch stored settings the new cluster rejects
- PoC: true in-place major version upgrades
- [PATCH] pg_upgrade: handle failed nonblocking connects on Windows
- pg_upgrade stores an invalid datminmxid/relminmxid when the old cluster's newest multixact is 0xFFFFFFFF
- pg_upgrade fails with a config-only datadir and no --new-bindir
- Prevent premature startup of pg_upgrade targets
- arrays over initdb-created types are broken after pg_upgrade
- [PATCH] pg_dump: Restore extension config table data before user objects during pg_upgrade
- BUG #19483: pg_upgrade fails with orphan records in pg_init_priv catalog table
- pg_upgrade: Test --check with a running source server
- pg_upgrade --copy-file-range fails with EINVAL on Linux 4.19
- pg_upgrade from 17.10 to 18.4 on Ubuntu fails: Finding the real data directory for the target cluster sh: 1: (null)/postgres: not found
- Random pg_upgrade 004_subscription test failure on drongo
- [Patch] Fix pg_upgrade/t/007_multixact_conversion.pl
- BUG #19513: pg_upgrade fails with orphan records in pg_init_priv catalog table
- [PATCH] Add pg_upgrade check for invalid role references in pg_init_privs
- Add --extra-dependencies and immediate data dumping for pg_dump/pg_upgrade
- bogus pg_init_privs.initprivs in pg_upgrade
- Major Version Upgrade failure due to orphan roles entries in catalog
- pg_upgrade: fix memory leak in SLRU I/O code
- BUG #19392: PG_UPGRADE is non-functional on Windows
- pg_resetwal prints new OldestXID in wrong circumstances
- mxid and mxoff wraparound issues in pg_upgrade
- pg_upgrade, can you use the rsync method of upgrading a standby if you used clone mode?
- Error pg_upgrade version 11 to 15
- teach pg_upgrade to handle in-place tablespaces
- pg_upgrade fails with an error "object doesn't exist"
- pg_upgrade ability to create extension from scripts
- Should shared_preload_libraries be loaded during binary upgrade?
- PostgreSQL v15.12 fails to perform PG_UPGRADE from v13 and v9 on Windows
- Make prep_status() message translatable
- BUG #18894: values of JLC_COLLATE and LC_CTYPE in the database have changed from Japanese_Japan.932 to ja-jp
- 002_pg_upgrade is broken for custom install
- BUG #18865: pg_resetwal error: multitransaction offset (-O) must not be -1
- BUG #18863: Multixact wraparound and pg_resetwal error "multitransaction ID (-m) must not be 0"
- pgsql: pg_upgrade: Preserve default char signedness value from old clus
- dead code in pg_upgrade
- pg_upgrade fails when using custom extension with operator class
- Fix untranslatable split message
- pg_upgrade fails for PostGIS custom SRIDs
- Trying to ugrade from version 16.2 to 17
- pg_upgrade cannot create btrfs clones on linux kernel 6.8.0
- Inconsistent output handling in 002_pg_upgrade.pl test logs
- BUG #18635: " $libdir/adminpack could not be loaded" error with pg_upgrade to PostgreSQL17
- BUG #18713: pg_upgrade fails when owner of an extension is changed or dropped
- pg_upgrade check for invalid databases
- Missing installation of Kerberos.pm and AdjustUpgrade.pm
- BUG #18625: user-created extensions change ownership to "postgres" after upgrade
- pg_upgrade -c cannot be run if old cluster is running
- BUG #18590: during pg14 to pg15 migration , old passwords not migrated to scram-sha from md5
- Certain options in pg_upgrade don't seem to work.
- pg_upgrade adds unexpected pg_constraint entries to pg_depend
- Bug report - pg_upgrade tool seems to have a race condition when trying to delete a pg_wal file
- fix pg_upgrade comment
- Report runtimes in pg_upgrade verbose mode
- pg_upgrade can result in early wraparound on databases with high transaction load
- Fix PGresult leak in pg_dump during binary upgrade
- BUG #18376: pg_upgrade fails trying to restore privileges on retired function pg_start_backup and pg_stop_backup
- BUG #18322: pg_dump fails with "incorrect version found" (with no good reason)
- pgsql: Move any remaining files generated by pg_upgrade into an interna
- Test 002_pg_upgrade fails with olddump on Windows
- pg_upgrade vs vacuum_cost_delay
- Official Windows Installer and Documentation
- pg_upgrade's object listing
- Fix one hint message in 002_pg_upgrade.pl
- Pro et contra of preserving pg_proc oids during pg_upgrade
- pg_upgrade doc uses inconsistent versions within the doc.
- Minor edit to src/bin/pg_upgrade/IMPLEMENTAION
- BUG #18143: pg_upgrade fails to use port 50432 even with firewall disabled
- pg_resetwal regression: could not upgrade after 1d863c2504
- pg_upgrade --check fails to warn about abstime
- pg_upgrade instructions involving "rsync --size-only" might lead to standby corruption?
- pg_upgrade fails with in-place tablespace
- Re: pg_upgrade fails with in-place tablespace
- add timing information to pg_upgrade
- pg_upgrade - a function parameter shadows global 'new_cluster'
- pg_upgrade - typo in verbose log
- Extracting cross-version-upgrade knowledge from buildfarm client
- Giving more detail in pg_upgrade errormessage
- pg_upgrade and cross-library upgrades
- Assistance Needed: Issue with pg_upgrade and --link option
- pg_upgrade failures with large partition definitions on upgrades from ~13 to 14~
- PG11 to PG14 Migration Slowness
- pg_upgrade from PG-14.5 to PG-15.1 failing due to non-existing function
- Fixes required for cross version update testing
- [BUG] pg_upgrade test fails from older versions.
- pg_upgrade: Make testing different transfer modes easier
- pg_upgrade allows itself to be run twice
- [PATCH] Backport perl tests for pg_upgrade from 322becb60
- Report roles in pg_upgrade pg_ prefix check
- pg_dump bugs reported as pg_upgrade bugs
- pg_upgrade, tables_with_oids.txt -> tables_with_oids.sql?
- BUG #17677: pg_upgrade error 14.5->15.0
- pg_upgrade fails if privileges have been granted on pg_start_backup()/pg_stop_backup() in the old cluster
- PG upgrade 14->15 fails - database contains our own extension
- Improve TAP tests of pg_upgrade for cross-version tests
- apparent loss of database access permissions
- Bug in pg_upgrade live check right after starting the old server on Windows
- pg_upgrade generated files in subdir follow-up
- using 14.5 pg_upgrade on version 10.18 clusters reports unexpected error occasionally
- pg_upgrade major version compatibility
- Slight refactoring of state check in pg_upgrade check_ function
- Adding more detail to pg_upgrade documentation
- pg_upgrade test writes to source directory
- pg15b2: large objects lost on upgrade
- [WIP] Allow pg_upgrade to copy segments of the same relfilenode in parallel
- [PATCH] Fix pg_upgrade test from v10
- pg_upgrade errno
- Remove trailing newlines from pg_upgrade's messages
- pg_upgrade (12->14) fails on aggregate
- "buffer too small" or "path too long"?
- [v15 beta] pg_upgrade failed if earlier executed with -c switch
- Rewriting the test of pg_upgrade as a TAP test - take three - remastered set
- Improve documentation for pg_upgrade, standbys and rsync
- [PATCH] improve the pg_upgrade error message
- [PATCH] Disable bgworkers during servers start in pg_upgrade
- pg_upgrade verbosity when redirecting output to log file
- pgsql: pg_upgrade: Preserve relfilenodes and tablespace OIDs.
- pg_upgrade should truncate/remove its logs before running
- Bogus duplicate command issued in pg_dump
- pg_upgrade/test.sh and v9.5
- pg_upgrade --check doesn't check pg_pltemplate modifications
- pg_upgrade parallelism
- BUG #17346: pg_upgrade fails with role granted by other role
- BUG #17347: pg_upgrade: analyze_new_cluster script analyzes wrong cluster
- Addition of --no-sync to pg_upgrade for test speedup
- pg_upgrade operation failed if table created in --single user mode
- BUG #16045: vacuum_db crash and illegal memory alloc after pg_upgrade from PG11 to PG12
- pg_upgrade fails with non-standard ACL
- prion failed with ERROR: missing chunk number 0 for toast value 14334 in pg_toast_2619
- BUG #15112: Unable to run pg_upgrade with earthdistance extension
- Extension updates and pg_upgrade
- pg_upgrade does not upgrade pg_stat_statements properly
- pg_upgrade don't echo windows commands
- pg_upgrade is failed for 'plpgsql_call_handler' handler
- pg_upgrade fails to detect unsupported arrays and ranges
- BUG #14242: Role with a setconfig "role" setting to a nonexistent role causes pg_upgrade to fail
- pg_upgrade check for invalid role-specific default config
- Postgres crashes at memcopy() after upgrade to PG 13.
- pg_upgrade from PostgreSQL 12.4 to PostgreSQL 13.2 on Windows 10 failes because of missing function pg_catalog.ascii_to_mic
- Upgrade issue during Postgres 9.6 to 12.3 on the two and more server
- pg_upgrade version checking questions
- Prevent printing "next step instructions" in initdb and pg_upgrade
- BUG #16843: pg_upgrade from 12.5 to 13.1 with extension plperlu failed
- pg_upgrade is not correct
- lc_collate mess
- probably reason of failure - not visible of false positive
- BUG #16738: Migration from 12th to 13th version. pg_upgrade error (relation "pg_catalog.pg_pltemplate")
- pg_upgrade analyze script
- pg_upgrade: fail early if a tablespace dir already exists for new cluster version
- pg_upgrade dead code for pre-8.4 versions
- BUG #16645: pg_upgrade does not mark template1 as a system database
- BUG #16568: pg_upgrade failed from 9.3 to 9.6
- BUG #15615: pg_upgrade and vacuum_defer_cleanup_age
- BUG #16497: old and new pg_controldata WAL segment sizes are invalid or do not match
- PG_UPGRADE FAILED FROM 9.5 to 11*
- pg_upgrade fails if vacuum_defer_cleanup_age > 0
- BUG #16346: pg_upgrade fails on a trigger with a comment
- [PATCH] pg_upgrade: report the reason for failing to open the cluster version file
- pg_upgrade
- format of pg_upgrade loadable_libraries warning
- BUG #16081: pg_upgrade is failed if a fake cmd.exe exist in the current directory.
- pg_upgrade issues
- pg_upgrade check fails on Solaris 10
- [PATCH] Move user options to the end of the command in pg_upgrade
- pg_upgrade: Error out on too many command-line arguments
- Missing newline in pg_upgrade usage()
- pg_upgrade "configdir" vs "datadir"
- pg_upgrade: Improve invalid option handling
- pg_upgrade: prep_status doesn't translate messages
- Teach pg_upgrade test to honor NO_TEMP_INSTALL
- Problems with pg_upgrade and extensions referencing catalog tables/views
- pg_upgrade --clone error checking
- patch that explains Log-Shipping standby server major upgrades
- Clarification to pg_upgrade docs on reverting to old cluster
- BUG #15755: After upgrading to 9.6.12 using pg_upgrade, select query does not return the expected results.
- pg_upgrade: Pass -j down to vacuumdb
- pg_upgrade
- BUG #15685: pg_upgrade fails to migrate DEFAULT values that use custom TYPEs or FUNCTIONs
- Binary upgrade from <12 to 12 creates toast table for partitioned tables
- pg_upgrade
- pg_upgrade issue in windows 7
- Support custom socket directory in pg_upgrade
- reg* checks in pg_upgrade are out of date
- pg_upgrade supported versions policy
- file cloning in pg_upgrade and CREATE DATABASE
- BUG #15376: Postgres sql 9.4.19 pg_upgrade stops with error The source cluster was not shut down cleanly.
- pg_ugprade test failure on data set with column with default value with type bit/varbit
- pg_upgrade fails saying function unaccent(text) doesn't exist
- [PATCH] Fix formatting in pg_upgrade manpage doc
- Doc patch: pg_upgrade page and checkpoint location consistency with replicas
- BUG #15345: pg_upgrade from 9.6.10 to 10.5 fails due to function call in index definition
- [PG_UPGRADE] 9.6 to 10.5
- BUG #15310: pg_upgrade dissociates event triggers from extensions
- pg_upgrade from 9.4 to 10.4
- BUG #15248: pg_upgrade fails when a function with an empty search_path is encountered
- Finding database for pg_upgrade missing library
- pg_upgrade and missing loadable libraries
- Rewriting the test of pg_upgrade as a TAP test - take two
- Problems with pg_upgrade under Windows
- pg_upgrade and materialized views
- pg_upgrade docs are confusing if PostgreSQL's versioning system/language isn't known to reader
- Bug in pg_upgrade standby rsync doc
- Invalid pg_upgrade error message during live check
- pgsql: pg_upgrade: simplify code layout in a few places
- A weird bit in pg_upgrade/exec.c
- BUG #14852: Refreshing materialized view might lead to a problem "could not access status of transaction"
- Clarification in pg10's pgupgrade.html step 10 (upgrading standby servers)
- pg_upgrade changes can it use CREATE EXTENSION?
- obsolete code in pg_upgrade
- does pg_upgrade on Windows use junction points or hard links?
- Create language syntax is not proper in pg_dumpall and not working using pg_upgrade
- pg_upgrade failed if view contain natural left join condition
- pg_upgrade failed if view is based on sequence
- pg_upgrade --link on Windows
- Transactional sequence stuff breaks pg_upgrade
- pg_upgrade --link on windows
- 9.2 pg_upgrade regression tests on WIndows