Small documentation enhancement for default_tablespace

Started by Andreas 'ads' Scherbaumover 15 years ago2 messageshackers
Jump to latest
#1Andreas 'ads' Scherbaum
adsmail@wars-nicht.de

Hello,

last week someone raised in a german webforum the question why
"default_tablespace" is not used for "CREATE DATABASE". After a brief
discussion on irc (thanks RhodiumToad) I added a note to the
documentation mentioning this point.

Patch attached.

Bye

--
Andreas 'ads' Scherbaum
German PostgreSQL User Group
European PostgreSQL User Group - Board of Directors
Volunteer Regional Contact, Germany - PostgreSQL Project

Attachments:

default_tablespace_not_for_databases.patchtext/x-diff; name=default_tablespace_not_for_databases.patchDownload+6-0
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Andreas 'ads' Scherbaum (#1)
Re: Small documentation enhancement for default_tablespace

"Andreas 'ads' Scherbaum" <adsmail@wars-nicht.de> writes:

last week someone raised in a german webforum the question why
"default_tablespace" is not used for "CREATE DATABASE". After a brief
discussion on irc (thanks RhodiumToad) I added a note to the
documentation mentioning this point.

Patch attached.

Personally I'd have said the description of default_tablespace was
clear enough about this already, but I added the following somewhat
revised text.

<para>
This variable is also not used when creating databases.
By default, a new database inherits its tablespace setting from
the template database it is copied from.
</para>

regards, tom lane