X-Original-To: pgsql-sql@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 0490F475FC4 for ; Mon, 3 Feb 2003 09:59:17 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 9F9CC475FD5 for ; Mon, 3 Feb 2003 09:46:01 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.6/8.12.6) with ESMTP id h13Ek55u014178; Mon, 3 Feb 2003 09:46:05 -0500 (EST) To: "Rajesh Kumar Mallah." Cc: pgsql-sql@postgresql.org Subject: Re: cannot EXPLAIN query... In-reply-to: <200302031932.08326.mallah@trade-india.com> References: <200302031932.08326.mallah@trade-india.com> Comments: In-reply-to "Rajesh Kumar Mallah." message dated "Mon, 03 Feb 2003 19:32:08 +0530" Date: Mon, 03 Feb 2003 09:46:05 -0500 Message-ID: <14177.1044283565@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/55 X-Sequence-Number: 11453 "Rajesh Kumar Mallah." writes: > tradein_clients=# explain SELECT count(*) from shippers1 where city='DELHI'; > ERROR: get_names_for_var: bogus varno 5 What version is this? ISTR having fixed some bugs that might cause that. > i can paste the nasty view definations if nothing is obvious till > now. If it's a current release, we need to see *all* the schema definitions referenced by the query --- views and tables. regards, tom lane