Re: documentation vs reality: template databases

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: documentation vs reality: template databases
Дата
Msg-id 200701220248.l0M2mHt23084@momjian.us
обсуждение исходный текст
Ответ на Re: documentation vs reality: template databases  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-general
Alvaro Herrera wrote:
> Bruce Momjian wrote:
>
> >       For example, one could drop <literal>template1</> and recreate it from
> >       <literal>template0</> without any ill effects.  This course of action
> >       might be advisable if one has carelessly added a bunch of junk in
> > !     <literal>template1</>. (To delete <literal>template1</literal>,
> > !     it must have <literal>datistemplate = false</>.)
> >      </para>
>
> I don't find this particularly clear -- how does the user know where to
> set the "datistemplate" it refers to?  I guess you should mention
> pg_database, or be more explicit about what to do.

OK, it is now:

      <literal>template1</>. (To delete <literal>template1</literal>,
      it must have <literal>pg_database.datistemplate = false</>.)

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

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

Предыдущее
От: "Shashank Tripathi"
Дата:
Сообщение: Re: More grist for the PostgreSQL vs MySQL mill
Следующее
От: Tom Lane
Дата:
Сообщение: Re: More grist for the PostgreSQL vs MySQL mill