Re: Recursive reference of view in view defination crashes

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Rajesh Kumar Mallah <mallah(at)trade-india(dot)com>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Recursive reference of view in view defination crashes
Date: 2003-06-27 14:51:28
Message-ID: 20030627075056.Y69316-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Fri, 27 Jun 2003, Rajesh Kumar Mallah wrote:

> My mistake i faced this problem below.
> is it taken care in 7.4dev ?

In 7.4 I get
"ERROR: Infinite recursion detected in rules for relation t_b"

> tradein_clients=# CREATE VIEW t_b AS SELECT * from t_a;
> CREATE VIEW
> tradein_clients=# CREATE or replace view t_b AS select * from t_b;
> CREATE VIEW

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2003-06-27 15:37:43 Re: A problem
Previous Message Sam Barnett-Cormack 2003-06-27 14:43:34 A problem