Re: [HACKERS] pg_database datistemplate

2002-10-24 Thread Tom Lane
Alvaro Herrera <[EMAIL PROTECTED]> writes: > On Thu, Oct 24, 2002 at 04:39:51PM -0400, Tom Lane wrote: >> Alvaro Herrera <[EMAIL PROTECTED]> writes: >>> However, one can create a database using as template another DB that has >>> datistemplate set to false. >> >> Only if one is owner of the source

Re: [HACKERS] pg_database datistemplate

2002-10-24 Thread Alvaro Herrera
On Thu, Oct 24, 2002 at 04:39:51PM -0400, Tom Lane wrote: > Alvaro Herrera <[EMAIL PROTECTED]> writes: > > In the docs it is mentioned for datistemplate that > > > However, one can create a database using as template another DB that has > > datistemplate set to false. > > Only if one is owner of

Re: [HACKERS] pg_database datistemplate

2002-10-24 Thread Tom Lane
Alvaro Herrera <[EMAIL PROTECTED]> writes: > 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." Right. > However, one can create a database using as template

Re: [HACKERS] pg_database datistemplate

2002-10-24 Thread korry
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 thi

[HACKERS] pg_database datistemplate

2002-10-24 Thread Alvaro Herrera
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.