Re: Confusing EXPLAIN output in case of inherited tables - Mailing list pgsql-hackers

From Ashutosh Bapat
Subject Re: Confusing EXPLAIN output in case of inherited tables
Date
Msg-id CAFjFpRf-Tzo=eO_EFn07ZmsRrmqi2X06Pv6G8hg0JaHAzeB5iQ@mail.gmail.com
Whole thread Raw
In response to Re: Confusing EXPLAIN output in case of inherited tables  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I don't believe that the problem has anything to do with the names of
other tables that might happen to exist in the database.  It's a matter
of what RTE names/aliases are exposed for variable references in
different parts of the query.


Names of other tables come into picture when we schema qualify the fake aliases in the generated query. See examples in first post.
 
                       regards, tom lane



--
Best Wishes,
Ashutosh Bapat
EntepriseDB Corporation
The Enterprise Postgres Company

pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: [GENERAL] Why extract( ... from timestamp ) is not immutable?
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] pg_dump -s dumps data?!