Go to file
Marc G. Fournier 61eaefe9a6 This patch for Versions 1 and 2 corrects the following bug:
In a catalog class that has a "name" type attribute, UPDATEing of an
instance of that class may destroy all of the attributes of that
instance that are stored as or after the "name" attribute.

This is caused by the alignment value of the "name" type being set to
"double" in Class pg_type, but "integer" in Class pg_attribute.
Postgres constructs a tuple using double alignment, but interprets it
using integer alignment.

The fix is to change the alignment to integer in pg_type.

Note that this corrects the problem for new Postgres systems.  Existing
databases already contain the error and it can't easily be repaired because
this very bug prevents updating the class that contains it.

--
Bryan Henderson                                    Phone 408-227-6803
San Jose, California
1996-08-24 20:56:16 +00:00
contrib Support Docs & Contrib 1996-08-18 22:14:33 +00:00
doc Support Docs & Contrib 1996-08-18 22:14:33 +00:00
src This patch for Versions 1 and 2 corrects the following bug: 1996-08-24 20:56:16 +00:00
COPYRIGHT Support Docs & Contrib 1996-08-18 22:14:33 +00:00
HISTORY Support Docs & Contrib 1996-08-18 22:14:33 +00:00
INSTALL Support Docs & Contrib 1996-08-18 22:14:33 +00:00
MAKE_CTAGS Support Docs & Contrib 1996-08-18 22:14:33 +00:00
MIGRATION_to_1.02.1 Support Docs & Contrib 1996-08-18 22:14:33 +00:00
README Support Docs & Contrib 1996-08-18 22:14:33 +00:00

POSTGRES95 Data Base Management System

This directory contains the 1.02 release of Postgres95. See INSTALL for
the installation notes and HISTORY for the changes.

We also have a WWW home page located at:
	http://www.ki.net/postgres95

Postgres95 is not public domain software.  It is copyrighted by the
University of California but may be used according to the licensing
terms of the the copyright below:

------------------------------------------------------------------------

POSTGRES95 Data Base Management System

Copyright (c) 1994-6 Regents of the University of California

Permission to use, copy, modify, and distribute this software and its
documentation for any purpose, without fee, and without a written agreement
is hereby granted, provided that the above copyright notice and this
paragraph and the following two paragraphs appear in all copies.

IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO
PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.