Re: [BUGS] BUG #2429: Explain does not report object's schema

From: Cristiano Duarte <cunha17(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [BUGS] BUG #2429: Explain does not report object's schema
Date: 2006-05-16 14:47:25
Message-ID: e4colk$2l57$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Gurjeet Singh wrote:

> I don't think Cristiano is asking for the schema_name in the
> EXPLAIN o/p.
In fact I'm requesting for schema_name in 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.
SQL table aliases doesn't help locating the real place where the table is.
If I have a table named "test" at the schema "place" and I do:

"EXPLAIN SELECT * FROM place.test mytest"

I will get:

"Seq Scan on test mytest"

With this output I know that "mytest" is an alias to "test", and that's
great, much helpful than aliases only, but, where is "test"? Explain didn't
provide me will the location: I know the table name but I don't know where
it is.

I don't see too much harm if the output was:

"Seq Scan on place.test mytest"

And that's what I'm asking for.

Regards,

Cristiano

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Jim C. Nasby 2006-05-16 17:47:26 Re: [BUGS] BUG #2429: Explain does not report object's schema
Previous Message Tom Lane 2006-05-16 14:38:37 Re: BUG #2440: TEMP TABLES in Postgres 8.1.3

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-05-16 15:14:21 Re: Weird ..... (a=1 or a=2) <> (a=2 or a=1)
Previous Message Rafael Martinez, Guerrero 2006-05-16 13:55:41 Weird ..... (a=1 or a=2) <> (a=2 or a=1)