From 0d5fce355b235f8be01c4397ef0dac2f6af55da0 Mon Sep 17 00:00:00 2001 From: Bruce Momjian <bruce@momjian.us> Date: Wed, 17 Dec 2003 07:07:00 +0000 Subject: [PATCH] Restore information schema upgrade instructions of Peter. --- HISTORY | 11 +++++++++++ doc/src/sgml/release.sgml | 18 +++++++++++++++++- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index 71848028c5c..0ecd64c0731 100644 --- a/HISTORY +++ b/HISTORY @@ -11,6 +11,17 @@ Migration to version 7.4 A dump/restore is *not* required for those running 7.4. + + If you want to install the fixes in the information schema concerning + the bit types, you need to reload the information schema. This is + either accomplished by initializing a new cluster by running "initdb", + or by running the following sequence of SQL commands in each database + (ideally including template1) as a superuser in psql, after installing + the new release: +DROP SCHEMA information_schema CASCADE; +\i /usr/local/pgsql/share/information_schema.sql + + Substitute your installation path in the second command. _________________________________________________________________ Changes diff --git a/doc/src/sgml/release.sgml b/doc/src/sgml/release.sgml index 7f4e13319da..350917eff91 100644 --- a/doc/src/sgml/release.sgml +++ b/doc/src/sgml/release.sgml @@ -1,5 +1,5 @@ <!-- -$PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.247 2003/12/15 22:24:59 momjian Exp $ +$PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.248 2003/12/17 07:07:00 momjian Exp $ --> <appendix id="release"> @@ -25,6 +25,22 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.247 2003/12/15 22:24:59 momjian A dump/restore is <emphasis>not</emphasis> required for those running 7.4. </para> + + <para> + If you want to install the fixes in the information schema + concerning the bit types, you need to reload the information + schema. This is either accomplished by initializing a new cluster + by running <command>initdb</command>, or by running the following + sequence of SQL commands in each database (ideally including + <literal>template1</literal>) as a superuser in + <application>psql</application>, after installing the new release: +<programlisting> +DROP SCHEMA information_schema CASCADE; +\i /usr/local/pgsql/share/information_schema.sql +</programlisting> + Substitute your installation path in the second command. + </para> + </sect2> <sect2> -- GitLab