BUG #8811: pg_dumpall broken against pre-8.1 (resubmit 4) - Mailing list pgsql-bugs

From andrew@tao11.riddles.org.uk
Subject BUG #8811: pg_dumpall broken against pre-8.1 (resubmit 4)
Date
Msg-id 20140113030900.20629.35808@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #8811: pg_dumpall broken against pre-8.1 (resubmit 4)
List pgsql-bugs
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.

pgsql-bugs by date:

Previous
From: Noah Misch
Date:
Subject: Re: BUG #8782: Segmentation Fault during initialization
Next
From: Martin Junek
Date:
Subject: Re: BUG #8771: Query execution plan broken after upgrade from 9.1.9