Re: [SQL] Error after creating View - Mailing list pgsql-sql

From jwieck@debis.com (Jan Wieck)
Subject Re: [SQL] Error after creating View
Date
Msg-id m0zlBvs-000EBPC@orion.SAPserv.Hamburg.dsh.de
Whole thread Raw
In response to Error after creating View  (Karin Probost <probost@uni-wuppertal.de>)
List 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@debis.com (Jan Wieck) #

pgsql-sql by date:

Previous
From: "D'Arcy" "J.M." Cain
Date:
Subject: Re: [SQL] Error after creating View
Next
From: Karin Probost
Date:
Subject: Re: [SQL] Error after creating View