pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Daniel Grace <dgrace@wingsnw.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install
Date: Wed, 04 May 2011 16:39:36 -0400
Message-ID: <17180.1304541576@sss.pgh.pa.us> (raw)
In-Reply-To: <201105041919.p44JJDtG099589@wwwmaster.postgresql.org>
References: <201105041919.p44JJDtG099589@wwwmaster.postgresql.org>

"Daniel Grace" <dgrace@wingsnw.com> writes:
> Bug reference:      6005
> Logged by:          Daniel Grace
> Email address:      dgrace@wingsnw.com
> PostgreSQL version: 9.1-beta1
> Operating system:   Win7 x64 (x86 postgres)
> Description:        ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster
> on a fresh install
> Details: 

> While trying to restore a database created under 9.1 alpha (created with
> pg_dumpall):

> CREATE ROLE postgres;
> ALTER ROLE postgres WITH SUPERUSER INHERIT CREATEROLE CREATEDB LOGIN
> REPLICATION PASSWORD 'xxxx';
> CREATE ROLE foo;
> ALTER ROLE foo WITH NOSUPERUSER INHERIT NOCREATEROLE NOCREATEDB NOLOGIN
> NOREPLICATION VALID UNTIL 'infinity';

> The final statement causes postmaster to crash.

Hmm, cannot duplicate this here ... can anyone else?  Windows-specific
issue perhaps?

			regards, tom lane



view thread (6+ messages)  latest in thread

Message-ID: <17180.1304541576@sss.pgh.pa.us>
Permalink:  ../17180.1304541576@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/17180.1304541576@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, dgrace@wingsnw.com
  Subject: Re: BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install
  In-Reply-To: <17180.1304541576@sss.pgh.pa.us>
  References: <201105041919.p44JJDtG099589@wwwmaster.postgresql.org> <17180.1304541576@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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