Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W2Y9p-0002tR-Di for pgsql-bugs@arkaria.postgresql.org; Mon, 13 Jan 2014 03:25:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W2Y9o-0000PE-Th for pgsql-bugs@arkaria.postgresql.org; Mon, 13 Jan 2014 03:25:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W2Y9o-0000P6-AD for pgsql-bugs@postgresql.org; Mon, 13 Jan 2014 03:25:44 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W2Y9m-0000PM-GH for pgsql-bugs@postgresql.org; Mon, 13 Jan 2014 03:25:43 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1W2Y9l-0006M7-DK; Sun, 12 Jan 2014 22:25:41 -0500 Date: Sun, 12 Jan 2014 22:25:41 -0500 From: Bruce Momjian To: andrew@tao11.riddles.org.uk Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #8811: pg_dumpall broken against pre-8.1 (resubmit 4) Message-ID: <20140113032541.GC15318@momjian.us> References: <20140113030900.20629.35808@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140113030900.20629.35808@wrigleys.postgresql.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Mon, Jan 13, 2014 at 03:09:00AM +0000, andrew@tao11.riddles.org.uk wrote: > The following bug has been logged on the website: > > Bug reference: 8811 > Logged by: Andrew Gierth > Email address: andrew@tao11.riddles.org.uk > PostgreSQL version: 9.3.2 > Operating system: any > Description: > > Commit db00d837 changed a query in dumpRoles in pg_dumpall.c such that it > now fails to run, affecting versions before 8.1. > > Specifically, > > "rolname = current_user AS is_current_user" > > should have been "usename = ..." since there is no rolname column. > > Per a report on IRC. Thanks. Fixed and backpatched to 9.3. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs