Re: Need some help creating a database sandbox...

Поиск
Список
Период
Сортировка
От Eric D. Nielsen
Тема Re: Need some help creating a database sandbox...
Дата
Msg-id 26A2169C-8C10-4CDC-A0E2-F86D03CE42CE@mit.edu
обсуждение исходный текст
Ответ на Re: Need some help creating a database sandbox...  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Aug 2, 2005, at 11:33 PM, Tom Lane wrote:

> "Eric D. Nielsen" <nielsene@mit.edu> writes:
>
>> ... simplest way I thought would be to have the testing tools drop/
>> create
>> the testing database on every test case, and then populate the
>> database from a specified file.  However I don't want to give the
>> test user superuser privileges.  Thus I don't think I can restrict it
>> to only drop/create a single named DB.
>>
>
> CREATEDB is a pretty restricted privilege --- I don't actually see
> the problem here?
>
>             regards, tom lane
>

I was equating CREATEDB as superuser.  Its not I see.  So if a user
has CREATEDB, but not CREATEUSER, I should be safe.

Thanks!

Eric

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Need some help creating a database sandbox...
Следующее
От: Oluwatope Akinniyi
Дата:
Сообщение: Re: Insert ImageFile in PostgreSQL