Обсуждение: pgsql/src/bin/initdb (initdb.sh)

Поиск
Список
Период
Сортировка

pgsql/src/bin/initdb (initdb.sh)

От
tgl@postgresql.org
Дата:
  Date: Tuesday, November 14, 2000 @ 13:37:45
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/bin/initdb
     from hub.org:/home/projects/pgsql/tmp/cvs-serv58825/src/bin/initdb

Modified Files:
    initdb.sh

-----------------------------  Log Message  -----------------------------

Extend CREATE DATABASE to allow selection of a template database to be
cloned, rather than always cloning template1.  Modify initdb to generate
two identical databases rather than one, template0 and template1.
Connections to template0 are disallowed, so that it will always remain
in its virgin as-initdb'd state.  pg_dumpall now dumps databases with
restore commands that say CREATE DATABASE foo WITH TEMPLATE = template0.
This allows proper behavior when there is user-added data in template1.
initdb forced!