pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #8811: pg_dumpall broken against pre-8.1 (resubmit 4)
2+ messages / 2 participants
[nested] [flat]

* BUG #8811: pg_dumpall broken against pre-8.1 (resubmit 4)
@ 2014-01-13 03:09  andrew@tao11.riddles.org.uk
  0 siblings, 1 reply; 2+ messages in thread

From: andrew@tao11.riddles.org.uk @ 2014-01-13 03:09 UTC (permalink / raw)
  To: 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.


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #8811: pg_dumpall broken against pre-8.1 (resubmit 4)
@ 2014-01-13 03:25  Bruce Momjian <bruce@momjian.us>
  parent: andrew@tao11.riddles.org.uk
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2014-01-13 03:25 UTC (permalink / raw)
  To: andrew@tao11.riddles.org.uk; +Cc: pgsql-bugs

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  <bruce@momjian.us>        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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2014-01-13 03:25 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-01-13 03:09 BUG #8811: pg_dumpall broken against pre-8.1 (resubmit 4) andrew@tao11.riddles.org.uk
2014-01-13 03:25 ` Bruce Momjian <bruce@momjian.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox