Re: [BUGS] BUG #2429: Explain does not report object's schema - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: [BUGS] BUG #2429: Explain does not report object's schema
Date
Msg-id 20060516084712.GA976@svana.org
Whole thread Raw
In response to Re: [BUGS] BUG #2429: Explain does not report object's schema  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
Responses Re: [BUGS] BUG #2429: Explain does not report object's schema
List pgsql-hackers
On Tue, May 16, 2006 at 09:15:13AM +0530, Gurjeet Singh wrote:
>    I don't think Cristiano is asking for the schema_name in the
> EXPLAIN o/p. The request is for the table ALIASes to be shown in the
> o/p, which makes more sense than schema_name+table_name, since the
> same table can be used in the same query more than once.

As has been pointed out, aliases ave always been displayed. The OPs
problem was that he was using schema.tablename everywhere and explain
didn't distinguish between schema1.mytable and schema2.mytable. It was
suggested that he use aliases instead to make it work.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

pgsql-hackers by date:

Previous
From: "Zeugswetter Andreas DCP SD"
Date:
Subject: Re: Compression and on-disk sorting
Next
From: "Gurjeet Singh"
Date:
Subject: Re: Creating a Pseudocolumn