pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install
6+ messages / 3 participants
[nested] [flat]
* BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install
@ 2011-05-04 19:19 Daniel Grace <dgrace@wingsnw.com>
2011-05-04 20:39 ` Re: BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 6+ messages in thread
From: Daniel Grace @ 2011-05-04 19:19 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged online:
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. 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.
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install
2011-05-04 19:19 BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install Daniel Grace <dgrace@wingsnw.com>
@ 2011-05-04 20:39 ` Tom Lane <tgl@sss.pgh.pa.us>
2011-05-11 19:59 ` Re: BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install Robert Haas <robertmhaas@gmail.com>
0 siblings, 1 reply; 6+ messages in thread
From: Tom Lane @ 2011-05-04 20:39 UTC (permalink / raw)
To: Daniel Grace <dgrace@wingsnw.com>; +Cc: pgsql-bugs
"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
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install
2011-05-04 19:19 BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install Daniel Grace <dgrace@wingsnw.com>
2011-05-04 20:39 ` Re: BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install Tom Lane <tgl@sss.pgh.pa.us>
@ 2011-05-11 19:59 ` Robert Haas <robertmhaas@gmail.com>
2011-05-11 20:36 ` Re: BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install Tom Lane <tgl@sss.pgh.pa.us>
2011-05-12 00:02 ` Re: BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 2 replies; 6+ messages in thread
From: Robert Haas @ 2011-05-11 19:59 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Daniel Grace <dgrace@wingsnw.com>; pgsql-bugs
On Wed, May 4, 2011 at 4:39 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "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?
Will commit 2e82d0b396473b595a30f68b37b8dfd41c37dff8 have possibly fixed this?
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install
2011-05-04 19:19 BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install Daniel Grace <dgrace@wingsnw.com>
2011-05-04 20:39 ` Re: BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install Tom Lane <tgl@sss.pgh.pa.us>
2011-05-11 19:59 ` Re: BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install Robert Haas <robertmhaas@gmail.com>
@ 2011-05-11 20:36 ` Tom Lane <tgl@sss.pgh.pa.us>
1 sibling, 0 replies; 6+ messages in thread
From: Tom Lane @ 2011-05-11 20:36 UTC (permalink / raw)
To: Robert Haas <robertmhaas@gmail.com>; +Cc: Daniel Grace <dgrace@wingsnw.com>; pgsql-bugs
Robert Haas <robertmhaas@gmail.com> writes:
> On Wed, May 4, 2011 at 4:39 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> "Daniel Grace" <dgrace@wingsnw.com> writes:
>>> ALTER ROLE foo WITH NOSUPERUSER INHERIT NOCREATEROLE NOCREATEDB NOLOGIN
>>> NOREPLICATION VALID UNTIL 'infinity';
>> Hmm, cannot duplicate this here ... can anyone else? Windows-specific
>> issue perhaps?
> Will commit 2e82d0b396473b595a30f68b37b8dfd41c37dff8 have possibly fixed this?
It will have stopped the crash, but no more. See
http://archives.postgresql.org/pgsql-hackers/2011-05/msg00589.php
Working on the rest of the fix now.
regards, tom lane
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install
2011-05-04 19:19 BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install Daniel Grace <dgrace@wingsnw.com>
2011-05-04 20:39 ` Re: BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install Tom Lane <tgl@sss.pgh.pa.us>
2011-05-11 19:59 ` Re: BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install Robert Haas <robertmhaas@gmail.com>
@ 2011-05-12 00:02 ` Tom Lane <tgl@sss.pgh.pa.us>
2011-05-12 17:28 ` Re: BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install Daniel Grace <dgrace@wingsnw.com>
1 sibling, 1 reply; 6+ messages in thread
From: Tom Lane @ 2011-05-12 00:02 UTC (permalink / raw)
To: Robert Haas <robertmhaas@gmail.com>; +Cc: Daniel Grace <dgrace@wingsnw.com>; pgsql-bugs
Robert Haas <robertmhaas@gmail.com> writes:
> Will commit 2e82d0b396473b595a30f68b37b8dfd41c37dff8 have possibly fixed this?
This should now be fixed as of HEAD, but it wouldn't be a bad idea for
someone to check that it really works on Windows. Look at whether the
timezone_abbreviations GUC has a sane value and you can use timezone
abbreviations, not just whether 'infinity' crashes.
regards, tom lane
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install
2011-05-04 19:19 BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install Daniel Grace <dgrace@wingsnw.com>
2011-05-04 20:39 ` Re: BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install Tom Lane <tgl@sss.pgh.pa.us>
2011-05-11 19:59 ` Re: BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install Robert Haas <robertmhaas@gmail.com>
2011-05-12 00:02 ` Re: BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install Tom Lane <tgl@sss.pgh.pa.us>
@ 2011-05-12 17:28 ` Daniel Grace <dgrace@wingsnw.com>
0 siblings, 0 replies; 6+ messages in thread
From: Daniel Grace @ 2011-05-12 17:28 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Robert Haas <robertmhaas@gmail.com>; pgsql-bugs
I don't have the means to easily compile a PG build, but if there's a
place to get nightly builds or such I'd be happy to give it a shot and
report back.
On Wed, May 11, 2011 at 5:02 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> Will commit 2e82d0b396473b595a30f68b37b8dfd41c37dff8 have possibly fixed this?
>
> This should now be fixed as of HEAD, but it wouldn't be a bad idea for
> someone to check that it really works on Windows. Look at whether the
> timezone_abbreviations GUC has a sane value and you can use timezone
> abbreviations, not just whether 'infinity' crashes.
>
> regards, tom lane
>
--
Daniel Grace
AGE, LLC
System Administrator and Software Developer
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2011-05-12 17:28 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-05-04 19:19 BUG #6005: ALTER ROLE ... VALID UNTIL 'infinity' crashes postmaster on a fresh install Daniel Grace <dgrace@wingsnw.com>
2011-05-04 20:39 ` Tom Lane <tgl@sss.pgh.pa.us>
2011-05-11 19:59 ` Robert Haas <robertmhaas@gmail.com>
2011-05-11 20:36 ` Tom Lane <tgl@sss.pgh.pa.us>
2011-05-12 00:02 ` Tom Lane <tgl@sss.pgh.pa.us>
2011-05-12 17:28 ` Daniel Grace <dgrace@wingsnw.com>
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