Excerpts from Tom Lane's message of lun oct 03 01:47:18 -0300 2011:
> (Without cassert, it looks like LockReassignCurrentOwner is the next
> biggest time sink; I'm wondering if there's some sort of O(N^2) behavior
> in there.)
That seems fishy. Even if there weren't quadratic behavior, should this
be called at all? AFAIK it should only be used on cases where there are
subtransactions at work, and I don't think pg_dump uses them.
--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support