]> granicus.if.org Git - postgresql/commit
In pg_upgrade, remove functions that did sequential array scans looking
authorBruce Momjian <bruce@momjian.us>
Sat, 8 Jan 2011 18:44:44 +0000 (13:44 -0500)
committerBruce Momjian <bruce@momjian.us>
Sat, 8 Jan 2011 18:44:44 +0000 (13:44 -0500)
commit002c105a0706bd1c1e939fe0f47ecdceeae6c52d
treebd04ff1d17ba6405dbdc5b9ce1f9bc57dc2a46f0
parentebaf648ad2e471b2e2003ecfe4740ce27226c02a
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.
contrib/pg_upgrade/function.c
contrib/pg_upgrade/info.c
contrib/pg_upgrade/pg_upgrade.c
contrib/pg_upgrade/pg_upgrade.h
contrib/pg_upgrade/relfilenode.c