Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id C3CA21337B61 for ; Wed, 4 May 2011 17:39:44 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 84124-09 for ; Wed, 4 May 2011 20:39:37 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 873991337B4E for ; Wed, 4 May 2011 17:39:37 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p44Kdavk017181; Wed, 4 May 2011 16:39:37 -0400 (EDT) To: "Daniel Grace" cc: pgsql-bugs@postgresql.org Subject: Re: BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install In-reply-to: <201105041919.p44JJDtG099589@wwwmaster.postgresql.org> References: <201105041919.p44JJDtG099589@wwwmaster.postgresql.org> Comments: In-reply-to "Daniel Grace" message dated "Wed, 04 May 2011 19:19:13 +0000" Date: Wed, 04 May 2011 16:39:36 -0400 Message-ID: <17180.1304541576@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201105/11 X-Sequence-Number: 30150 "Daniel Grace" 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