diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2001-08-26 16:56:03 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2001-08-26 16:56:03 +0000 |
commit | bc7d37a525c02f4a0e983854c4222e9d063eeae2 (patch) | |
tree | 46d1ff8c74eb0a6cec5c183732410a1b846fc5ba /doc/src/sgml/ref/create_database.sgml | |
parent | d1ee78f2962f09f0fe7c6c8ee16ad513ac113ba4 (diff) | |
download | postgresql-bc7d37a525c02f4a0e983854c4222e9d063eeae2.tar.gz postgresql-bc7d37a525c02f4a0e983854c4222e9d063eeae2.zip |
Transaction IDs wrap around, per my proposal of 13-Aug-01. More
documentation to come, but the code is all here. initdb forced.
Diffstat (limited to 'doc/src/sgml/ref/create_database.sgml')
-rw-r--r-- | doc/src/sgml/ref/create_database.sgml | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/create_database.sgml b/doc/src/sgml/ref/create_database.sgml index e128c1891d0..20477ac191c 100644 --- a/doc/src/sgml/ref/create_database.sgml +++ b/doc/src/sgml/ref/create_database.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_database.sgml,v 1.17 2000/11/15 19:43:39 petere Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_database.sgml,v 1.18 2001/08/26 16:55:59 tgl Exp $ Postgres documentation --> @@ -284,6 +284,20 @@ comment from Olly; response from Thomas... simply by setting the flag false). The <literal>template0</literal> database is normally marked this way to prevent modification of it. </para> + + <para> + After preparing a template database, or making any changes to one, + it is a good idea to perform + <command>VACUUM FREEZE</> or <command>VACUUM FULL FREEZE</> in that + database. If this is done when there are no other open transactions + in the same database, then it is guaranteed that all tuples in the + database are <quote>frozen</> and will not be subject to transaction + ID wraparound problems. This is particularly important for a database + that will have <literal>datallowconn</literal> set to false, since it + will be impossible to do routine maintenance <command>VACUUM</>s on + such a database. + See the Administrator's Guide for more information. + </para> </refsect2> </refsect1> |