Re: [BUG?] strange behavior in ALTER TABLE ... RENAME TO on inherited columns
Bernd Helmle <mailings@oopsware.de>
From: Bernd Helmle <mailings@oopsware.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>, KaiGai Kohei <kaigai@kaigai.gr.jp>, KaiGai Kohei <kaigai@ak.jp.nec.com>, pgsql-hackers@postgresql.org, Thom Brown <thombrown@gmail.com>, Alvaro Herrera <alvherre@commandprompt.com>
Date: 2010-01-24T18:45:33Z
Lists: pgsql-hackers
--On 24. Januar 2010 13:23:14 -0500 Tom Lane <tgl@sss.pgh.pa.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