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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com>
Cc: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>, "Cristiano Duarte" <cunha17(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [BUGS] BUG #2429: Explain does not report object's schema
Date: 2006-05-16 03:49:49
Message-ID: 5553.1147751389@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

"Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com> writes:
> 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.

But EXPLAIN has always shown the aliases.

Possibly a reasonable compromise would be for EXPLAIN to act like rule
reverse-listing does, that is, consult the schema search path and print
a qualified name only if the table wouldn't be found without it.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Ruslan A Dautkhanov 2006-05-16 06:19:51 Re: postgresql-[any version] from FreeBSD ports - startup
Previous Message Gurjeet Singh 2006-05-16 03:45:13 Re: [BUGS] BUG #2429: Explain does not report object's schema

Browse pgsql-hackers by date

  From Date Subject
Next Message Gregory Maxwell 2006-05-16 03:52:12 Re: Compression and on-disk sorting
Previous Message Gurjeet Singh 2006-05-16 03:45:13 Re: [BUGS] BUG #2429: Explain does not report object's schema