In pg_upgrade, remove functions that did sequential array scans looking
Bruce Momjian <bruce@momjian.us>
In pg_upgrade, remove functions that did sequential array scans looking up relations, but rather order old/new relations and use the same array index value for both. This should speed up pg_upgrade for databases with many relations.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_upgrade/function.c | modified | +3 −3 |
| contrib/pg_upgrade/info.c | modified | +14 −92 |
| contrib/pg_upgrade/pg_upgrade.c | modified | +5 −4 |
| contrib/pg_upgrade/pg_upgrade.h | modified | +3 −5 |
| contrib/pg_upgrade/relfilenode.c | modified | +12 −5 |