Re: [HACKERS] Small documentation enhancement for default_tablespace

2010-11-27 Thread Tom Lane
"Andreas 'ads' Scherbaum"  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.

   
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.
   


regards, tom lane

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


[HACKERS] Small documentation enhancement for default_tablespace

2010-11-27 Thread Andreas 'ads' Scherbaum


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
*** a/doc/src/sgml/config.sgml
--- b/doc/src/sgml/config.sgml
***
*** 4357,4362  COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
--- 4357,4368 
 
  
 
+ This variable is also not used for creating databases. Tablespace
+ information are copied from the template database (usually
+ template1) instead.
+
+ 
+
  For more information on tablespaces,
  see .
 

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers