pg_database datistemplate

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_database datistemplate
Date: 2002-10-24 20:12:10
Message-ID: 20021024201210.GA9625@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

In the docs it is mentioned for datistemplate that

"If true then this database can be used in the "TEMPLATE" clause of
CREATE DATABASE to create the new database as a clone of this one."

However, one can create a database using as template another DB that has
datistemplate set to false.

In this situation, what is the point of having datistemplate?

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Now I have my system running, not a byte was off the shelf;
It rarely breaks and when it does I fix the code myself.
It's stable, clean and elegant, and lightning fast as well,
And it doesn't cost a nickel, so Bill Gates can go to hell."

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-10-24 20:14:52 Do we still need NO_MKTIME_BEFORE_1970 ?
Previous Message Andrew Sullivan 2002-10-24 20:11:28 Re: Hot Backup