From: | David Johnston <polobo(at)yahoo(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: CREATE DATABASE [ TEMPLATE [=] template ] [ TABLESPACE [=] tablespace_name ] |
Date: | 2013-09-26 13:14:50 |
Message-ID: | 1380201290433-5772464.post@n5.nabble.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Tim Kane wrote
> The documentation describes the tablespace parameter as:
> The name of the tablespace that will be associated with the new database,
> or
> DEFAULT to use the template database's tablespace. This tablespace will be
> the default tablespace used for objects created in this database. See
> CREATE
> TABLESPACE
> <http://www.postgresql.org/docs/9.3/static/sql-createtablespace.html>
> for
> more information.
>
> Is this a documentation issue, or a behavioural one? It isn't clear to
> me.
The operative sentence is:
"This tablespace will be the default tablespace used for [new] objects
created in this database."
The implied "new" (inserted because of the word "default" preceding) means
that any existing objects in the template database will be assigned the same
tablespace onto which they are currently attached.
David J.
--
View this message in context: http://postgresql.1045698.n5.nabble.com/CREATE-DATABASE-TEMPLATE-template-TABLESPACE-tablespace-name-tp5772451p5772464.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.
From | Date | Subject | |
---|---|---|---|
Next Message | David Johnston | 2013-09-26 13:22:40 | Re: CREATE DATABASE [ TEMPLATE [=] template ] [ TABLESPACE [=] tablespace_name ] |
Previous Message | Tim Kane | 2013-09-26 11:27:16 | CREATE DATABASE [ TEMPLATE [=] template ] [ TABLESPACE [=] tablespace_name ] |