Re: Create user/create database outside template1

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Create user/create database outside template1
Date: 2000-05-25 17:05:16
Message-ID: 23541.959274316@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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).

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-05-25 17:05:40 Re: Create user/create database outside template1
Previous Message Vince Vielhaber 2000-05-25 17:05:03 Re: Create user/create database outside template1