X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 5F4F93100D6 for ; Fri, 27 Jun 2003 13:06:32 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 71905-05 for ; Fri, 27 Jun 2003 10:06:22 -0300 (ADT) Received: from rtlocal.trade-india.com (unknown [203.196.129.235]) by svr1.postgresql.org (Postfix) with SMTP id C1FF03100D3 for ; Fri, 27 Jun 2003 10:06:17 -0300 (ADT) Received: (qmail 8997 invoked from network); 27 Jun 2003 13:12:49 -0000 Received: from unknown (HELO system67.trade-india-local.com) (unknown) by unknown with SMTP; 27 Jun 2003 13:12:49 -0000 From: Rajesh Kumar Mallah Organization: Infocom Network Limited To: pgsql-admin@postgresql.org Subject: Recursive reference of view in view defination crashes postmaster. Date: Fri, 27 Jun 2003 18:40:06 +0530 User-Agent: KMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200306271840.06626.mallah@trade-india.com> X-Archive-Number: 200306/318 X-Sequence-Number: 9309 My mistake i faced this problem below. is it taken care in 7.4dev ? the problem has no significance in real world though. Regds mallah. tradein_clients=# SELECT * from t_a; userid | username --------+--------------- 105989 | afri4ta 105557 | koreantraders 89773 | NQChinh 89800 | yndvijaya 113306 | giriraj 89831 | devipriya 105252 | info684 89990 | hilco 89729 | wangxiuqing 104208 | zq7410 (10 rows) 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 tradein_clients=# tradein_clients=# tradein_clients=# tradein_clients=# \d t_b View "public.t_b" Column | Type | Modifiers ----------+-----------------------+----------- userid | integer | username | character varying(30) | View definition: SELECT t_b.userid, t_b.username FROM ONLY t_b; tradein_clients=# tradein_clients=# SELECT * from t_b; server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. The connection to the server was lost. Attempting reset: Failed. !# !# \q -- Rajesh Kumar Mallah, Project Manager (Development) Infocom Network Limited, New Delhi phone: +91(11)6152172 (221) (L) ,9811255597 (M) Visit http://www.trade-india.com , India's Leading B2B eMarketplace.