Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 0D7BBB5F586 for ; Tue, 7 Jun 2011 12:41:31 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 85572-03 for ; Tue, 7 Jun 2011 15:41:24 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id E1717B5F3E2 for ; Tue, 7 Jun 2011 12:41:23 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p57FfMml014242; Tue, 7 Jun 2011 11:41:22 -0400 (EDT) To: Robert Haas cc: Daniel Cristian Cruz , pgsql-bugs@postgresql.org Subject: Re: BUG #6050: Dump and restore of view after a schema change: can't restore the view In-reply-to: References: <201106031238.p53CcA8P075374@wwwmaster.postgresql.org> <27042.1307113140@sss.pgh.pa.us> <1357.1307121567@sss.pgh.pa.us> <2768.1307125285@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Tue, 07 Jun 2011 11:28:40 -0400" Date: Tue, 07 Jun 2011 11:41:22 -0400 Message-ID: <14241.1307461282@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201106/67 X-Sequence-Number: 30446 Robert Haas writes: > If your point here is that you don't want to spend time hacking on > this because it's a fairly marginal feature and therefore not terribly > high on your priority list, I can understand that. But if you're > actually defending the current implementation, I'm going to have to > respectfully disagree. It's broken, and it sucks, and this is not the > first complaint we've had about it. The spec's definition of USING is broken and sucky, and we're implementing it as best we can. I don't feel a need to invent strange nonstandard behavior to work around the fact that USING is fragile *by definition*. Complain to the standards committee about that. (Question: would you also have us try to work around the fact that USING stops working if you rename one of the join columns?) regards, tom lane