Re: BUG #8811: pg_dumpall broken against pre-8.1 (resubmit 4)

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: andrew(at)tao11(dot)riddles(dot)org(dot)uk
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #8811: pg_dumpall broken against pre-8.1 (resubmit 4)
Date: 2014-01-13 03:25:41
Message-ID: 20140113032541.GC15318@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, Jan 13, 2014 at 03:09:00AM +0000, andrew(at)tao11(dot)riddles(dot)org(dot)uk wrote:
> The following bug has been logged on the website:
>
> Bug reference: 8811
> Logged by: Andrew Gierth
> Email address: andrew(at)tao11(dot)riddles(dot)org(dot)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 <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message sfrost 2014-01-13 04:12:35 BUG #8812: Testing, testing
Previous Message andrew 2014-01-13 03:09:00 BUG #8811: pg_dumpall broken against pre-8.1 (resubmit 4)