Received: from orion.SAPserv.Hamburg.dsh.de (Tpolaris2.sapham.debis.de [53.2.131.8]) by hub.org (8.9.1/8.9.1) with SMTP id HAA00424 for ; Wed, 2 Dec 1998 07:53:24 -0500 (EST) (envelope-from wieck@sapserv.debis.de) Received: by orion.SAPserv.Hamburg.dsh.de for pgsql-sql@postgreSQL.org id m0zlBvs-000EBPC; Wed, 2 Dec 98 14:03 MET Message-Id: From: jwieck@debis.com (Jan Wieck) Subject: Re: [SQL] Error after creating View To: probost@uni-wuppertal.de (Karin Probost) Date: Wed, 2 Dec 1998 14:03:04 +0100 (MET) Cc: pgsql-sql@postgreSQL.org Reply-To: jwieck@debis.com (Jan Wieck) In-Reply-To: <3664FC6A.46DD5A17@uni-wuppertal.de> from "Karin Probost" at Dec 2, 98 09:38:02 am X-Mailer: ELM [version 2.4 PL25] Content-Type: text > > hallo, > > After creating a view i get the message > ERROR: nodeRead: Bad type 0 > > SELECT and VACUUM leads to the same Error. > > I am using Postgres 6.3.2 > > What's the reason. Looks like the rule's action created for the pg_rewrite entry cannot get parsed back into the internal memory structures. This is done when the relation is opened and that's why even VACUUM fails on it. I've fixed many things in the rewrite system for v6.4. You might give it a try. I'm really interested if it works for v6.4 or if you hit a bug that's still there. Jan -- #======================================================================# # It's easier to get forgiveness for being wrong than for being right. # # Let's break this rule - forgive me. # #======================================== jwieck@debis.com (Jan Wieck) #