Go to file
Bruce Momjian abb1b3e770 I checked the alter table code, and started suspecting the relation
cache.  I found if I manually added a line to flush the whole relation
cache, the assert error disappeared.  Looking through the code, I found
that the relation cache is flushed at the end of each query if the
reference count is zero for the relation.  However, printf's showed that
the rd_relcnt(reference count) for the accessed query was not returning
to zero after each query.

It turns out the parser was doing a heap_ropen in parser/analyze.c to
get information about the table's columns, but was not doing a
heap_close.

This was causing the query after the ALTER TABLE ADD to see the old
table structure, and the executor's assert was reporting the problem.
1996-10-13 04:26:39 +00:00
contrib Updated version. 1996-09-26 14:07:07 +00:00
doc add FROM to update page, clean up spelling error in select. 1996-10-07 02:34:54 +00:00
src I checked the alter table code, and started suspecting the relation 1996-10-13 04:26:39 +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 This patch corrects some errors in sample commands in the INSTALL file. 1996-10-04 20:08:29 +00:00
MIGRATION_to_1.02.1 Support Docs & Contrib 1996-08-18 22:14:33 +00:00
README Change README to 2.0. 1996-09-26 18:34:49 +00:00

README

POSTGRES95 Data Base Management System

This directory contains the 2.0 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.