I attach a patch for pg_upgrade. This does two things:
Bruce Momjian <bruce@momjian.us>
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
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_dump/pg_upgrade | modified | +5 −3 |