Re: User privileges-verification required - Mailing list pgsql-hackers

From Nauman Naeem
Subject Re: User privileges-verification required
Date
Msg-id 211765b50602270809v7f626ce9i4ea2f1e3a9362162@mail.gmail.com
Whole thread Raw
In response to Re: User privileges-verification required  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List pgsql-hackers
Yeah it really was :-) BTW I have implemented this for multiuser-mode as well......Both the approaches as mentioned in my very first email... 
 
1- The minimum super user count should not be less then 1.
2- Only the main database system owner is eligible to reassign.
 
My personal believe is, this minimum functionality should be a part of multiuser mode! I was oblivious of this and did initdb twice,  may be I am dumb :-)
 
Thanks,
Nauman
 
On 2/26/06, Christopher Kings-Lynne <chriskl@familyhealth.com.au> wrote:
> In my opinion we should cater for such a situation, and two possible
> solutions come to my mind for this:

I've done exactly this before, and had to use single user mode to
recover.  Annoying.

> 1. Place a restriction that there should be more than one superuser
> before you can issue a "NOCREATEUSER" command.

I agree :)

Chris


pgsql-hackers by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: pg_config, pg_service.conf, postgresql.conf ....
Next
From: "Mark Woodward"
Date:
Subject: Re: pg_config, pg_service.conf, postgresql.conf ....