pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Rajesh Kumar Mallah. <mallah@trade-india.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: cannot EXPLAIN query...
Date: Mon, 03 Feb 2003 09:46:05 -0500
Message-ID: <14177.1044283565@sss.pgh.pa.us> (raw)
In-Reply-To: <200302031932.08326.mallah@trade-india.com>
References: <200302031932.08326.mallah@trade-india.com>

"Rajesh Kumar Mallah." <mallah@trade-india.com> 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



view thread (13+ messages)  latest in thread

Message-ID: <14177.1044283565@sss.pgh.pa.us>
Permalink:  ../14177.1044283565@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/14177.1044283565@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mallah@trade-india.com
  Subject: Re: cannot EXPLAIN query...
  In-Reply-To: <14177.1044283565@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox