Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 81BDCB88768 for ; Sat, 4 Jun 2011 16:50:10 -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 25602-04 for ; Sat, 4 Jun 2011 19:50:03 +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 3D36DB88765 for ; Sat, 4 Jun 2011 16:50:03 -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 p54Jo0Ej002761; Sat, 4 Jun 2011 15:50:00 -0400 (EDT) To: "Dylan Adams" cc: pgsql-bugs@postgresql.org Subject: Re: BUG #6049: Can't load dumped view with VALUES and ORDER BY In-reply-to: <201106022022.p52KMfFL044245@wwwmaster.postgresql.org> References: <201106022022.p52KMfFL044245@wwwmaster.postgresql.org> Comments: In-reply-to "Dylan Adams" message dated "Thu, 02 Jun 2011 20:22:41 +0000" Date: Sat, 04 Jun 2011 15:50:00 -0400 Message-ID: <2760.1307217000@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/47 X-Sequence-Number: 30426 "Dylan Adams" writes: > If you create a view based on a VALUES statement with an ORDER BY clause, > the SQL produced by pg_dump can't be loaded back into the database. I've applied a patch for this. Thanks for the report! regards, tom lane