Re: [SQL] Error after creating View

From: jwieck(at)debis(dot)com (Jan Wieck)
To: probost(at)uni-wuppertal(dot)de (Karin Probost)
Cc: pgsql-sql(at)postgreSQL(dot)org
Subject: Re: [SQL] Error after creating View
Date: 1998-12-02 13:03:04
Message-ID: m0zlBvs-000EBPC@orion.SAPserv.Hamburg.dsh.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

>
> 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(at)debis(dot)com (Jan Wieck) #

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Karin Probost 1998-12-02 13:51:38 Re: [SQL] Error after creating View
Previous Message D'Arcy J.M. Cain 1998-12-02 12:48:47 Re: [SQL] Error after creating View