I attach a patch for pg_upgrade. This does two things:

Bruce Momjian <bruce@momjian.us>

Commit: 505b2ecdf4bcc990bb352fe7619283c0f334a295
Author: Bruce Momjian <bruce@momjian.us>
Date: 1999-06-07T22:58:31Z
Releases: 7.1.1
I attach a patch for pg_upgrade.  This does two things:

1. check whether the program is being executed in $PGDATA/..  This is
   necessary if the data tree is not in the standard place, as is the
   case with the Debian distribution (because of Debian policy).

2. give a clearer error message if the dumped data structure fails to
   be loaded.

Oliver Elphick

Files

PathChange+/−
src/bin/pg_dump/pg_upgrade modified +5 −3