--On 24. Januar 2010 13:23:14 -0500 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> I think my concern about the original proposal was that the time to
> perform an ALTER RENAME would increase with the number of tables in the
> database, even if they were entirely unrelated to the one you're trying
> to rename.
Uhm, find_column_origin() scans pg_inherits recursively by looking up
inhparent from the given inhrelid. I don't see where this should be related
to the number of tables not part of the inheritance tree (or inheritance at
all).
--
Thanks
Bernd