Re: Create user/create database outside template1

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Create user/create database outside template1
Дата
Msg-id 200005251705.NAA27487@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Create user/create database outside template1  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Well, thanks.  I was going over that for my book.  If I do createdb from
> > another database, I guess I get a copy of that database, right? 
> 
> No, it's always a copy of template1.  CREATE DATABASE really doesn't
> care which database you're connected to (nor does CREATE USER).

Yes, I see that.  Interesting.

--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Create user/create database outside template1
Следующее
От: "Mark R"
Дата:
Сообщение: ...