template0 and template1 databases

Поиск
Список
Период
Сортировка
От Andrew Gould
Тема template0 and template1 databases
Дата
Msg-id 20010906122014.17128.qmail@web13407.mail.yahoo.com
обсуждение исходный текст
Список pgsql-general
I notice that template0 can't be vacuumed; and that
template1 gets vacuumed but has "no relations" per \d.

What do these databases do?

I have a python script that finds all database names
per 'psql -l', vacuums and analyzes them ('vacuumdb -a
-z'), and then pg_dumps them through gzip into
separate files in a defined backup directory.
Currently, the script excludes template0 and template1
from being dumped and gzipped.  Is this correct?  Does
this matter?

I would like to offer up this script and one other for
others to use; but am trying to clean them up first.

Thanks,

Andrew

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

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

Предыдущее
От: Eric Kolve
Дата:
Сообщение: getting inherited table name
Следующее
От: "J.H.M. Dassen (Ray)"
Дата:
Сообщение: Re: template0 and template1 databases