]> granicus.if.org Git - postgresql/commitdiff
Add:
authorBruce Momjian <bruce@momjian.us>
Mon, 18 Oct 2004 02:56:42 +0000 (02:56 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 18 Oct 2004 02:56:42 +0000 (02:56 +0000)
>
> * Allow a database in tablespace t1 with tables created in tablespace t2
>   to be used as a template for a new database created with default
>   tablespace t2
>
>   All objects in the default database tablespace must have default tablespace
>   specifications.  This is because new databases are created by copying
>   directories.  If you mix default tablespace tables and tablespace-specified
>   tables in the same directory, creating a new database from such a mixed
>   directory would create a new database with tables that had incorrect
>   explicit tablespaces.  To fix this would require modifying pg_class in the
>   newly copied database, which we don't currently do.

doc/TODO

index abeac0c80e7ca5653fa00806a1ef67a7db878f1a..ef60734f6e0a4ee40b2b6539121014fbcb03c1d7 100644 (file)
--- a/doc/TODO
+++ b/doc/TODO
@@ -5,7 +5,7 @@ TODO list for PostgreSQL
 Bracketed items "[]" have more detail.
 
 Current maintainer:    Bruce Momjian (pgman@candle.pha.pa.us)
-Last updated:          Thu Oct 14 18:17:50 EDT 2004
+Last updated:          Sun Oct 17 22:56:37 EDT 2004
 
 The most recent version of this document can be viewed at the PostgreSQL web
 site, http://www.PostgreSQL.org.
@@ -57,6 +57,18 @@ Administration
   in their original locations. If this fails, the user must be able to 
   adjust the restore process.
 
+* Allow a database in tablespace t1 with tables created in tablespace t2
+  to be used as a template for a new database created with default
+  tablespace t2
+
+  All objects in the default database tablespace must have default tablespace
+  specifications.  This is because new databases are created by copying 
+  directories.  If you mix default tablespace tables and tablespace-specified
+  tables in the same directory, creating a new database from such a mixed
+  directory would create a new database with tables that had incorrect 
+  explicit tablespaces.  To fix this would require modifying pg_class in the
+  newly copied database, which we don't currently do.
+
 * Add "include file" functionality in postgresql.conf
 * Add session start time and last statement time to pg_stat_activity
 * Allow server logs to be remotely read using SQL commands