From: | "Daniel Grace" <dgrace(at)wingsnw(dot)com> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install |
Date: | 2011-05-04 19:19:13 |
Message-ID: | 201105041919.p44JJDtG099589@wwwmaster.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged online:
Bug reference: 6005
Logged by: Daniel Grace
Email address: dgrace(at)wingsnw(dot)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. I attempted it again
breaking each part of the ALTER ROLE into individual statements, e.g.
ALTER ROLE foo WITH NOSUPERUSER;
ALTER ROLE foo WITH INHERIT;
...
and it was the ALTER ROLE foo VALID UNTIL 'infinity' line causing the crash.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2011-05-04 20:39:36 | Re: BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install |
Previous Message | hubert depesz lubaczewski | 2011-05-04 06:40:03 | Re: BUG #6003: Cannot have a constraint foreign key on master class with inheritance |