From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Gavin Sherry <swm(at)linuxworld(dot)com(dot)au> |
Cc: | Kaare Rasmussen <kar(at)kakidata(dot)dk>, pgsql-patches(at)postgresql(dot)org |
Subject: | Re: [HACKERS] Updated TODO item |
Date: | 2002-02-24 20:23:54 |
Message-ID: | 11758.1014582234@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Gavin Sherry <swm(at)linuxworld(dot)com(dot)au> writes:
> On Fri, 4 Jan 2002, Kaare Rasmussen wrote:
>> CREATE DATABASE dbname WITH OWNER = "user"
> A much better idea. There is no conflict in using OWNER here.
> Revised patch attached.
I have applied this patch, with a couple of editorial tweaks, and one
not-so-minor change: superuser privilege is required to create a
database on behalf of another user. Seems to me that CREATEDB
privilege should not be sufficient to allow such an operation.
Still to do: teach createdb script about it, and revise pg_dumpall
to use the facility instead of assuming that database owners have
CREATEDB privilege. Working on those now ...
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2002-02-24 20:39:01 | Re: Duration of beta period |
Previous Message | Hannu Krosing | 2002-02-24 19:25:46 | Re: My "TOAST slicing" patch -explanation |
From | Date | Subject | |
---|---|---|---|
Next Message | Neil Conway | 2002-02-24 21:13:30 | ALTER TABLE OWNER: change indexes |
Previous Message | Bruce Momjian | 2002-02-24 14:03:56 | Re: ECPG patches: get descriptor NULL alloc, external names |