Re: pg_database datistemplate

Поиск
Список
Период
Сортировка
От korry
Тема Re: pg_database datistemplate
Дата
Msg-id 5.1.0.14.0.20021024162747.02b93eb8@pop.starband.net
обсуждение исходный текст
Ответ на pg_database datistemplate  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Список pgsql-hackers
>In the docs it is mentioned for datistemplate that
>
>"If true then this database can be used in the "TEMPLATE" clause of
>CREATE DATABASE to create the new database as a clone of this one."
>
>However, one can create a database using as template another DB that has
>datistemplate set to false.
>
>In this situation, what is the point of having datistemplate?

If datistemplate is true, any user with CREATEDB privileges can clone the 
database.
If datistemplate is false, only a cluster superuser can clone the database.



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Do we still need NO_MKTIME_BEFORE_1970 ?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_database datistemplate